ToME: the Tales of Maj'Eyal
http://forums.te4.org/

physfs.c fix clang error
http://forums.te4.org/viewtopic.php?f=36&t=46856
Page 1 of 1

Author:  lifanov [ Tue Oct 25, 2016 3:54 pm ]
Post subject:  physfs.c fix clang error

Hi!

In physfs.c, a void function is returning an integer. Please fix:

Code:
--- src/physfs.c.orig   2016-10-25 15:49:32 UTC
+++ src/physfs.c
@@ -331,7 +331,6 @@ void physfs_reset_dir_allowed(lua_State
    }
    nb_allowed_dirs = 0;
    can_set_allowed_dirs = TRUE;
-   return 0;
 }
 
 static int lua_fs_done_dir_allowed(lua_State *L) {

Author:  lifanov [ Wed Oct 26, 2016 3:05 pm ]
Post subject:  Re: physfs.c fix clang error

I see it landed. Thanks!

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/