Michał Kępień
a452798af4
Convert add_quota() to a function
...
cppcheck 2.2 reports the following false positive:
lib/isc/tests/quota_test.c:71:21: error: Array 'quotas[101]' accessed at index 110, which is out of bounds. [arrayIndexOutOfBounds]
isc_quota_t *quotas[110];
^
The above is not even an array access, so this report is obviously
caused by a cppcheck bug. Yet, it seems to be triggered by the presence
of the add_quota() macro, which should really be a function. Convert
the add_quota() macro to a function in order to make the code cleaner
and to prevent the above cppcheck 2.2 false positive from being
triggered.
(cherry picked from commit ea54a932d2 )
2020-11-25 13:21:58 +01:00
..
2020-10-22 15:00:07 -07:00
2020-10-29 13:21:55 +01:00
2020-09-14 16:50:58 -07:00
2020-11-25 13:21:58 +01:00
2020-10-08 09:03:08 +02:00
2020-10-05 16:19:23 +02:00
2020-09-14 16:50:58 -07:00
2020-10-22 09:09:07 +02:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-10-30 09:12:50 +01:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-05-13 10:26:39 +10:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-17 17:35:58 +02:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00
2020-09-14 16:50:58 -07:00