test/cfg/posix.c: fix tests

This commit is contained in:
Daniel Marjamäki 2015-02-17 19:58:07 +01:00
parent b1e9d9b86f
commit fd4d4bba33
1 changed files with 4 additions and 3 deletions

View File

@ -127,11 +127,12 @@ void uninitvar(int fd) {
}
void uninitvar_types(void) {
// cppcheck-suppress unassignedVariable
blkcnt_t b;
// cppcheck-suppress uninitvar
return b;
b + 1;
dirent d;
struct dirent d;
// cppcheck-suppress uninitvar
return d.d_ino;
d.d_ino + 1;
}