Remove <use-retval/> attribute from strto*() APIs fixing false positives
This commit is contained in:
parent
88a6c2bf9d
commit
97f998e6dd
|
@ -4983,7 +4983,6 @@
|
|||
</function>
|
||||
<!-- intmax_t strtoimax(const char *s, char **endp, int base); -->
|
||||
<function name="strtoimax">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
|
@ -4997,7 +4996,6 @@
|
|||
</function>
|
||||
<!-- uintmax_t strtoumax(const char *s, char **endp, int base); -->
|
||||
<function name="strtoumax">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
|
@ -5011,7 +5009,6 @@
|
|||
</function>
|
||||
<!-- float strtof(const char *s, char **endp); -->
|
||||
<function name="strtof">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
|
@ -5023,7 +5020,6 @@
|
|||
</function>
|
||||
<!-- double strtod(const char *s, char **endp); -->
|
||||
<function name="strtod">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
|
@ -5035,7 +5031,6 @@
|
|||
</function>
|
||||
<!-- long double strtod(const char *s, char **endp); -->
|
||||
<function name="strtold">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
|
@ -5047,7 +5042,6 @@
|
|||
</function>
|
||||
<!-- unsigned long strtoul(const char *s, char **endp, int base); -->
|
||||
<function name="strtoul">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
|
@ -5061,7 +5055,6 @@
|
|||
</function>
|
||||
<!-- long long strtoll(const char *s, char **endp, int base); -->
|
||||
<function name="strtoll">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
|
@ -5075,7 +5068,6 @@
|
|||
</function>
|
||||
<!-- unsigned long long strtoull(const char *s, char **endp, int base); -->
|
||||
<function name="strtoull">
|
||||
<use-retval/>
|
||||
<noreturn>false</noreturn>
|
||||
<leak-ignore/>
|
||||
<arg nr="1">
|
||||
|
|
Loading…
Reference in New Issue