From 235f3685cbdaa62e98dd15074342643f8f40cbf2 Mon Sep 17 00:00:00 2001 From: Matthew Endsley Date: Wed, 15 Apr 2015 20:12:42 -0700 Subject: [PATCH] Add return values to setenv/getcwd --- include/bx/os.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/bx/os.h b/include/bx/os.h index 939119f..4fcd2c0 100644 --- a/include/bx/os.h +++ b/include/bx/os.h @@ -164,6 +164,7 @@ namespace bx { #if BX_PLATFORM_WINRT BX_UNUSED(_path); + return -1; #elif BX_COMPILER_MSVC_COMPATIBLE return ::_chdir(_path); #else @@ -175,6 +176,7 @@ namespace bx { #if BX_PLATFORM_WINRT BX_UNUSED(_buffer, _size); + return NULL; #elif BX_COMPILER_MSVC_COMPATIBLE return ::_getcwd(_buffer, (int)_size); #else