Fix couple of compiler warnings.
This commit is contained in:
parent
d387209ed4
commit
c98b5eef77
@ -5,6 +5,8 @@
|
||||
*/
|
||||
|
||||
#include "premake.h"
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
int path_isabsolute(lua_State* L)
|
||||
@ -18,7 +20,7 @@ int path_isabsolute(lua_State* L)
|
||||
int do_isabsolute(const char* path)
|
||||
{
|
||||
char c;
|
||||
char* closing;
|
||||
const char* closing;
|
||||
|
||||
if (path[0] == '/' || path[0] == '\\')
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user