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