diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2010-03-08 23:56:54 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2010-03-08 23:56:54 +0000 |
| commit | 9a3c0778c6c17191c835c2a38c49f090d2970d80 (patch) | |
| tree | 71010d7dbd4935f54aecae77ac437dac12a4e95c /apps/plugins | |
| parent | 61320ce0ebf39e47953086de95f1b48f2fd09333 (diff) | |
| download | rockbox-9a3c0778c6c17191c835c2a38c49f090d2970d80.zip rockbox-9a3c0778c6c17191c835c2a38c49f090d2970d80.tar.gz rockbox-9a3c0778c6c17191c835c2a38c49f090d2970d80.tar.bz2 rockbox-9a3c0778c6c17191c835c2a38c49f090d2970d80.tar.xz | |
Fix two warnings that appear with gcc4.4.3. The one in recording.c ("compact_view is used uninitialized" seems to be false positive unfortunately).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25082 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/lua/loslib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/lua/loslib.c b/apps/plugins/lua/loslib.c index 19fef84..6cb8c05 100644 --- a/apps/plugins/lua/loslib.c +++ b/apps/plugins/lua/loslib.c @@ -173,6 +173,7 @@ static int os_time (lua_State *L) { static int os_exit (lua_State *L) { exit(luaL_optint(L, 1, EXIT_SUCCESS)); + return EXIT_SUCCESS; /* never reached, surpress warning */ } static const luaL_Reg syslib[] = { |