Various changes and bigfixes for problems detected by CppCheck

This commit is contained in:
Gregory Nutt
2013-05-09 14:23:34 -06:00
parent c9fcc7eef4
commit 88c0911fb1
25 changed files with 126 additions and 69 deletions
+3
View File
@@ -102,5 +102,8 @@ int main(int argc, char **argv, char **envp)
printf("\n#define CONFIG_VERSION ((CONFIG_VERSION_MAJOR << 8) | (CONFIG_VERSION_MINOR))\n\n");
printf("#endif /* __INCLUDE_NUTTX_VERSION_H */\n");
fclose(stream);
/* Exit (without bothering to clean up allocations) */
return 0;
}