[ros-diffs] [blight] 18891: Silence warning for non-win32 compilations.

blight at svn.reactos.com blight at svn.reactos.com
Sun Oct 30 19:43:36 CET 2005


Silence warning for non-win32 compilations.
Modified: trunk/reactos/tools/rbuild/backend/msvc/genguid.cpp
  _____  

Modified: trunk/reactos/tools/rbuild/backend/msvc/genguid.cpp
--- trunk/reactos/tools/rbuild/backend/msvc/genguid.cpp	2005-10-30
18:01:50 UTC (rev 18890)
+++ trunk/reactos/tools/rbuild/backend/msvc/genguid.cpp	2005-10-30
18:43:16 UTC (rev 18891)
@@ -19,7 +19,7 @@

  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
USA
  *
  */
-
+
 #include "../../pch.h"
 #include "msvc.h"
 #include <string>
@@ -36,7 +36,7 @@
 
 static CoInitializeFunc *pCoInitialize = NULL;
 static CoUninitializeFunc *pCoUninitialize = NULL;
-static CoCreateGuidFunc *pCoCreateGuid = NULL;
+static CoCreateGuidFunc *pCoCreateGuid = NULL;
 
 
 std::string
@@ -85,11 +85,12 @@
 	
 	return guid;
 }
-
+
 #else /* Linux, etc */
-
+
 std::string
 MSVCBackend::_gen_guid()
 {
-}
-#endif /* WIN32/Linux */
+	return std::string();
+}
+#endif /* WIN32/Linux */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051030/1aed9c26/attachment.html


More information about the Ros-diffs mailing list