reduce allowed ccp check warnings

This commit is contained in:
Jan Möbius
2019-05-29 09:52:23 +02:00
parent 8a178e16ac
commit e7a34cf83b
2 changed files with 2 additions and 2 deletions

View File

@@ -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}

View File

@@ -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