use-retval for localtime()

This commit is contained in:
amai2012 2022-03-24 20:18:15 +01:00 committed by GitHub
parent 479af21405
commit a7194410cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -3159,6 +3159,7 @@ The obsolete function 'gets' is called. With 'gets' you'll get a buffer overrun
</function>
<!-- struct tm * localtime(const time_t *tp); -->
<function name="localtime,std::localtime">
<use-retval/>
<returnValue type="struct tm *"/>
<noreturn>false</noreturn>
<leak-ignore/>