mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
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
This commit is contained in:
parent
61320ce0eb
commit
9a3c0778c6
2 changed files with 3 additions and 1 deletions
|
@ -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[] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue