Browse Source

update cppcheck suppressions

Olivier Aumage 8 years ago
parent
commit
eccabca716
1 changed files with 3 additions and 1 deletions
  1. 3 1
      tools/cppcheck/suppressions.txt

+ 3 - 1
tools/cppcheck/suppressions.txt

@@ -1,6 +1,7 @@
 // StarPU --- Runtime system for heterogeneous multicore architectures.
 // StarPU --- Runtime system for heterogeneous multicore architectures.
 //
 //
 // Copyright (C) 2017       CNRS
 // Copyright (C) 2017       CNRS
+// Copyright (C) 2017       Inria
 //
 //
 // StarPU is free software; you can redistribute it and/or modify
 // StarPU is free software; you can redistribute it and/or modify
 // it under the terms of the GNU Lesser General Public License as published by
 // it under the terms of the GNU Lesser General Public License as published by
@@ -73,7 +74,8 @@ sizeofDereferencedVoidPointer:src/util/fstarpu.c
 allocaCalled:gcc-plugin/src/*
 allocaCalled:gcc-plugin/src/*
 unusedVariable:gcc-plugin/tests/*
 unusedVariable:gcc-plugin/tests/*
 unreadVariable:gcc-plugin/tests/*
 unreadVariable:gcc-plugin/tests/*
-duplicateExpression:gcc-plugin/src/*
+//cppcheck complaints it does not find duplicate expressions
+//duplicateExpression:gcc-plugin/src/*
 negativeIndex:gcc-plugin/src/*
 negativeIndex:gcc-plugin/src/*
 
 
 pointerSize:socl/src/cl_getcontextinfo.c:33
 pointerSize:socl/src/cl_getcontextinfo.c:33