Silence warning for non-win32 compilations.
authorGregor Anich <blight@blight.eu.org>
Sun, 30 Oct 2005 18:43:16 +0000 (18:43 +0000)
committerGregor Anich <blight@blight.eu.org>
Sun, 30 Oct 2005 18:43:16 +0000 (18:43 +0000)
svn path=/trunk/; revision=18891

reactos/tools/rbuild/backend/msvc/genguid.cpp

index 85dfb6b..fbffdc1 100644 (file)
@@ -19,7 +19,7 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
  *\r
  */\r
-
+\r
 #include "../../pch.h"\r
 #include "msvc.h"\r
 #include <string>\r
@@ -36,7 +36,7 @@ typedef HRESULT _stdcall CoCreateGuidFunc ( GUID* );
 \r
 static CoInitializeFunc *pCoInitialize = NULL;\r
 static CoUninitializeFunc *pCoUninitialize = NULL;\r
-static CoCreateGuidFunc *pCoCreateGuid = NULL;
+static CoCreateGuidFunc *pCoCreateGuid = NULL;\r
 \r
 \r
 std::string\r
@@ -85,11 +85,12 @@ MSVCBackend::_gen_guid()
        \r
        return guid;\r
 }\r
-
+\r
 #else /* Linux, etc */\r
-
+\r
 std::string\r
 MSVCBackend::_gen_guid()\r
 {\r
-}
-#endif /* WIN32/Linux */
+       return std::string();\r
+}\r
+#endif /* WIN32/Linux */\r