std.cfg: Added <not-bool/>-tag to isblank() function arg.
This commit is contained in:
parent
be96abc21a
commit
a62ddc6edd
|
@ -2557,6 +2557,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
|
||||||
<leak-ignore/>
|
<leak-ignore/>
|
||||||
<arg nr="1" direction="in">
|
<arg nr="1" direction="in">
|
||||||
<not-uninit/>
|
<not-uninit/>
|
||||||
|
<not-bool/>
|
||||||
<valid>0:255</valid>
|
<valid>0:255</valid>
|
||||||
</arg>
|
</arg>
|
||||||
</function>
|
</function>
|
||||||
|
|
|
@ -3986,6 +3986,14 @@ bool invalidFunctionArgBool_isprint(bool b, int c)
|
||||||
return isprint(c != 0);
|
return isprint(c != 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool invalidFunctionArgBool_isblank(bool b, int c)
|
||||||
|
{
|
||||||
|
// cppcheck-suppress invalidFunctionArgBool
|
||||||
|
(void)isblank(b);
|
||||||
|
// cppcheck-suppress invalidFunctionArgBool
|
||||||
|
return isblank(c != 0);
|
||||||
|
}
|
||||||
|
|
||||||
bool invalidFunctionArgBool_ispunct(bool b, int c)
|
bool invalidFunctionArgBool_ispunct(bool b, int c)
|
||||||
{
|
{
|
||||||
// cppcheck-suppress invalidFunctionArgBool
|
// cppcheck-suppress invalidFunctionArgBool
|
||||||
|
|
Loading…
Reference in New Issue