Suppressing 'member variable is not assigned in operator =' cppcheck warning, because of false positives.

This commit is contained in:
Ruben Ayrapetyan
2015-01-29 14:26:17 +03:00
parent 94cb1c0e67
commit 4cd7f96acc
+5 -3
View File
@@ -1,4 +1,4 @@
# Copyright 2014 Samsung Electronics Co., Ltd. # Copyright 2014-2015 Samsung Electronics Co., Ltd.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
@@ -14,12 +14,14 @@
#!/bin/bash #!/bin/bash
if [ ! -x ./third-party/tools/cppcheck/$(uname -m)/cppcheck ] BASE=./third-party/tools/cppcheck
if [ ! -x $BASE/$(uname -m)/cppcheck ]
then then
exit 1; exit 1;
fi fi
./third-party/tools/cppcheck/$(uname -m)/cppcheck "$@" $BASE/$(uname -m)/cppcheck "$@" "--exitcode-suppressions=$BASE/cfg/suppressions-list"
status_code=$? status_code=$?
exit $status_code exit $status_code