From fae0adf2dff9141615fec9d86da8d2fcfbf87a50 Mon Sep 17 00:00:00 2001 From: Gregor Anich Date: Sun, 30 Oct 2005 18:43:16 +0000 Subject: [PATCH] Silence warning for non-win32 compilations. svn path=/trunk/; revision=18891 --- reactos/tools/rbuild/backend/msvc/genguid.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/reactos/tools/rbuild/backend/msvc/genguid.cpp b/reactos/tools/rbuild/backend/msvc/genguid.cpp index 85dfb6b5d29..fbffdc1ad35 100644 --- a/reactos/tools/rbuild/backend/msvc/genguid.cpp +++ b/reactos/tools/rbuild/backend/msvc/genguid.cpp @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ - + #include "../../pch.h" #include "msvc.h" #include @@ -36,7 +36,7 @@ typedef HRESULT _stdcall CoCreateGuidFunc ( GUID* ); static CoInitializeFunc *pCoInitialize = NULL; static CoUninitializeFunc *pCoUninitialize = NULL; -static CoCreateGuidFunc *pCoCreateGuid = NULL; +static CoCreateGuidFunc *pCoCreateGuid = NULL; std::string @@ -85,11 +85,12 @@ MSVCBackend::_gen_guid() return guid; } - + #else /* Linux, etc */ - + std::string MSVCBackend::_gen_guid() { -} -#endif /* WIN32/Linux */ + return std::string(); +} +#endif /* WIN32/Linux */