Cosmetics: address cppcheck warnings on src/actions

This commit is contained in:
Felipe Zimmerle
2020-01-22 10:37:24 -03:00
parent a6620604d4
commit 9101a8ab15
96 changed files with 99 additions and 97 deletions

View File

@@ -60,7 +60,7 @@ int HtmlEntityDecode::inplace(unsigned char *input, uint64_t input_len) {
unsigned char *d = input;
int i, count;
if ((input == NULL) || (input_len <= 0)) {
if ((input == NULL) || (input_len == 0)) {
return 0;
}