From bad3d04bc0c95296081878afd5db37fa7069285b Mon Sep 17 00:00:00 2001 From: Ykkrosh Date: Wed, 14 Jul 2010 13:53:26 +0000 Subject: [PATCH] Fix some Premake warnings This was SVN commit r7755. --- build/premake/src/Src/path.c | 2 +- build/premake/src/Src/vs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/premake/src/Src/path.c b/build/premake/src/Src/path.c index 5c8da681af..f433a1f4ef 100644 --- a/build/premake/src/Src/path.c +++ b/build/premake/src/Src/path.c @@ -240,7 +240,7 @@ const char* path_getname(const char* path) path_translateInPlace(forpart, "posix"); ptr = strrchr(forpart, '/'); - ptr = (ptr != NULL) ? ++ptr : forpart; + ptr = (ptr != NULL) ? ptr+1 : forpart; return ptr; } diff --git a/build/premake/src/Src/vs.c b/build/premake/src/Src/vs.c index 27afae6e3f..1c7960685c 100644 --- a/build/premake/src/Src/vs.c +++ b/build/premake/src/Src/vs.c @@ -173,7 +173,7 @@ static void tag_attr_open(const char* name) io_print("=\""); } -static tag_attr_close() +static void tag_attr_close() { io_print("\""); attrib++;