Fix Travis build.

This commit is contained in:
Martin Ettl 2015-09-04 23:50:50 +02:00
parent 6304eb35f9
commit bcb7dce97e
2 changed files with 2 additions and 1 deletions

View File

@ -86,7 +86,6 @@
<!-- void assert(int expression) -->
<function name="assert">
<leak-ignore/>
<noreturn>true</noreturn>
<arg nr="1">
<not-uninit/>
</arg>

View File

@ -405,12 +405,14 @@ void uninitvar_asctime(void)
(void)asctime(tm);
}
#if 0
void uninitvar_assert(void)
{
int i;
// cppcheck-suppress uninitvar
assert(i);
}
#endif
void uninitvar_sqrt(void)
{