Fix couple of compiler warnings.

This commit is contained in:
Tom van Dijck 2016-02-08 08:59:29 -08:00
parent d387209ed4
commit c98b5eef77

View File

@ -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;