Commit e7a34cf8 authored by Jan Möbius's avatar Jan Möbius
Browse files

reduce allowed ccp check warnings

parent 8a178e16
...@@ -30,7 +30,7 @@ echo "CPPCHECK Summary" ...@@ -30,7 +30,7 @@ echo "CPPCHECK Summary"
echo "==============================================================================" echo "=============================================================================="
echo -e "${NC}" echo -e "${NC}"
MAX_COUNT=100 MAX_COUNT=27
if [ $COUNT -gt $MAX_COUNT ]; then if [ $COUNT -gt $MAX_COUNT ]; then
echo -e ${WARNING} echo -e ${WARNING}
......
...@@ -357,7 +357,7 @@ private: ...@@ -357,7 +357,7 @@ private:
struct Delete struct Delete
{ {
Delete() {} Delete() {}
void operator()(BaseProperty* _p) const { if (_p) delete _p; _p=NULL; } void operator()(BaseProperty* _p) const { if (_p) delete _p; }
}; };
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment