[xiph-commits] r8619 - in trunk/oggdsf/src/lib: codecs/cmml/libWinCMMLParse core/ogg/libVorbisComment helper/libOOOggChef helper/libTemporalURI

illiminable at motherfish-iii.xiph.org illiminable at motherfish-iii.xiph.org
Wed Jan 5 00:58:51 PST 2005


Author: illiminable
Date: 2005-01-05 00:58:51 -0800 (Wed, 05 Jan 2005)
New Revision: 8619

Modified:
   trunk/oggdsf/src/lib/codecs/cmml/libWinCMMLParse/libWinCMMLParse.cpp
   trunk/oggdsf/src/lib/core/ogg/libVorbisComment/libVorbisComment.cpp
   trunk/oggdsf/src/lib/helper/libOOOggChef/libOOOggChef.cpp
   trunk/oggdsf/src/lib/helper/libTemporalURI/libTemporalURI.cpp
Log:
* Warnings--

Modified: trunk/oggdsf/src/lib/codecs/cmml/libWinCMMLParse/libWinCMMLParse.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libWinCMMLParse/libWinCMMLParse.cpp	2005-01-05 08:53:40 UTC (rev 8618)
+++ trunk/oggdsf/src/lib/codecs/cmml/libWinCMMLParse/libWinCMMLParse.cpp	2005-01-05 08:58:51 UTC (rev 8619)
@@ -37,6 +37,9 @@
 
 #include "stdafx.h"
 #include <libWinCMMLParse/libWinCMMLParse.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
@@ -52,4 +55,4 @@
 	}
     return TRUE;
 }
-
+#pragma warning( pop )

Modified: trunk/oggdsf/src/lib/core/ogg/libVorbisComment/libVorbisComment.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libVorbisComment/libVorbisComment.cpp	2005-01-05 08:53:40 UTC (rev 8618)
+++ trunk/oggdsf/src/lib/core/ogg/libVorbisComment/libVorbisComment.cpp	2005-01-05 08:58:51 UTC (rev 8619)
@@ -34,6 +34,10 @@
 
 #include "stdafx.h"
 #include "libVorbisComment.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
@@ -50,3 +54,4 @@
     return TRUE;
 }
 
+#pragma warning ( pop )
\ No newline at end of file

Modified: trunk/oggdsf/src/lib/helper/libOOOggChef/libOOOggChef.cpp
===================================================================
--- trunk/oggdsf/src/lib/helper/libOOOggChef/libOOOggChef.cpp	2005-01-05 08:53:40 UTC (rev 8618)
+++ trunk/oggdsf/src/lib/helper/libOOOggChef/libOOOggChef.cpp	2005-01-05 08:58:51 UTC (rev 8619)
@@ -34,6 +34,10 @@
 
 #include "stdafx.h"
 
+//These ignore unreferenced formal parameter (lpReserved and hModule since they are unused)
+#pragma warning( push )
+#pragma warning( disable : 4100 )
+
 BOOL APIENTRY DllMain( HANDLE, 
                        DWORD  ul_reason_for_call, 
                        LPVOID
@@ -50,3 +54,4 @@
     return TRUE;
 }
 
+#pragma warning( pop )

Modified: trunk/oggdsf/src/lib/helper/libTemporalURI/libTemporalURI.cpp
===================================================================
--- trunk/oggdsf/src/lib/helper/libTemporalURI/libTemporalURI.cpp	2005-01-05 08:53:40 UTC (rev 8618)
+++ trunk/oggdsf/src/lib/helper/libTemporalURI/libTemporalURI.cpp	2005-01-05 08:58:51 UTC (rev 8619)
@@ -3,6 +3,9 @@
 
 #include "stdafx.h"
 #include "libTemporalURI.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
@@ -18,3 +21,5 @@
 	}
     return TRUE;
 }
+
+#pragma warning( pop )
\ No newline at end of file



More information about the commits mailing list