[xiph-commits] r8618 - in trunk/oggdsf/src/lib: codecs/theora/libs/libOOTheora core/ogg/libOOOggSeek

illiminable at motherfish-iii.xiph.org illiminable at motherfish-iii.xiph.org
Wed Jan 5 00:53:40 PST 2005


Author: illiminable
Date: 2005-01-05 00:53:40 -0800 (Wed, 05 Jan 2005)
New Revision: 8618

Modified:
   trunk/oggdsf/src/lib/codecs/theora/libs/libOOTheora/libOOTheora.cpp
   trunk/oggdsf/src/lib/core/ogg/libOOOggSeek/libOOOggSeek.cpp
Log:
* Warnings--

Modified: trunk/oggdsf/src/lib/codecs/theora/libs/libOOTheora/libOOTheora.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/theora/libs/libOOTheora/libOOTheora.cpp	2005-01-05 08:50:06 UTC (rev 8617)
+++ trunk/oggdsf/src/lib/codecs/theora/libs/libOOTheora/libOOTheora.cpp	2005-01-05 08:53:40 UTC (rev 8618)
@@ -34,6 +34,9 @@
 
 #include "stdafx.h"
 #include "libOOTheora.h"
+//These ignore unreferenced formal parameter (lpReserved and hModule since they are unused)
+#pragma warning( push )
+#pragma warning( disable : 4100 )
 BOOL APIENTRY DllMain( HANDLE hModule, 
                        DWORD  ul_reason_for_call, 
                        LPVOID lpReserved
@@ -49,4 +52,4 @@
 	}
     return TRUE;
 }
-
+#pragma warning( pop )

Modified: trunk/oggdsf/src/lib/core/ogg/libOOOggSeek/libOOOggSeek.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOggSeek/libOOOggSeek.cpp	2005-01-05 08:50:06 UTC (rev 8617)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOggSeek/libOOOggSeek.cpp	2005-01-05 08:53:40 UTC (rev 8618)
@@ -33,6 +33,9 @@
 //
 
 #include "stdafx.h"
+//These ignore unreferenced formal parameter (lpReserved and hModule since they are unused)
+#pragma warning( push )
+#pragma warning( disable : 4100 )
 #include <libOOOggSeek/libOOOggSeek.h>
 
 BOOL APIENTRY DllMain( HANDLE hModule, 
@@ -51,3 +54,4 @@
     return TRUE;
 }
 
+#pragma warning( pop )
\ No newline at end of file



More information about the commits mailing list