summaryrefslogtreecommitdiff
path: root/nuttx/tools/mkversion.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2013-05-09 14:23:34 -0600
committerGregory Nutt <gnutt@nuttx.org>2013-05-09 14:23:34 -0600
commit17cfb7007f3f4e253d3533ee87349ce1b8e4885e (patch)
treefb175af19fa6835f8929ee075ff16acfeb49f904 /nuttx/tools/mkversion.c
parent4495dfb36135744a6f903e32ac2215b1f3ab0452 (diff)
downloadpx4-nuttx-17cfb7007f3f4e253d3533ee87349ce1b8e4885e.tar.gz
px4-nuttx-17cfb7007f3f4e253d3533ee87349ce1b8e4885e.tar.bz2
px4-nuttx-17cfb7007f3f4e253d3533ee87349ce1b8e4885e.zip
Various changes and bigfixes for problems detected by CppCheck
Diffstat (limited to 'nuttx/tools/mkversion.c')
-rw-r--r--nuttx/tools/mkversion.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/nuttx/tools/mkversion.c b/nuttx/tools/mkversion.c
index c6b00c5e5..3c0e6ab6f 100644
--- a/nuttx/tools/mkversion.c
+++ b/nuttx/tools/mkversion.c
@@ -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;
}