From: Gregor Anich Date: Sun, 30 Oct 2005 18:43:16 +0000 (+0000) Subject: Silence warning for non-win32 compilations. X-Git-Tag: backups/ros-branch-0_2_9@19949~994 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=fae0adf2dff9141615fec9d86da8d2fcfbf87a50 Silence warning for non-win32 compilations. svn path=/trunk/; revision=18891 --- 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 */