[xiph-commits] r8620 - in trunk/oggdsf/src/lib:
codecs/cmml/libWinCMMLParse codecs/theora/libs/libOOTheora
core/ogg/libOOOgg core/ogg/libOOOggSeek
core/ogg/libVorbisComment helper/libOOOggChef
helper/libTemporalURI helper/libilliCore
ozone at motherfish-iii.xiph.org
ozone at motherfish-iii.xiph.org
Wed Jan 5 04:43:34 PST 2005
Author: ozone
Date: 2005-01-05 04:43:34 -0800 (Wed, 05 Jan 2005)
New Revision: 8620
Modified:
trunk/oggdsf/src/lib/codecs/cmml/libWinCMMLParse/libWinCMMLParse.cpp
trunk/oggdsf/src/lib/codecs/theora/libs/libOOTheora/libOOTheora.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOgg/libOOOgg.cpp
trunk/oggdsf/src/lib/core/ogg/libOOOggSeek/libOOOggSeek.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
trunk/oggdsf/src/lib/helper/libilliCore/libilliCore.cpp
Log:
oggdsf:
* Warnings--, or, HOWTO not use #pragma warning(disable:4100)
Modified: trunk/oggdsf/src/lib/codecs/cmml/libWinCMMLParse/libWinCMMLParse.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/cmml/libWinCMMLParse/libWinCMMLParse.cpp 2005-01-05 08:58:51 UTC (rev 8619)
+++ trunk/oggdsf/src/lib/codecs/cmml/libWinCMMLParse/libWinCMMLParse.cpp 2005-01-05 12:43:34 UTC (rev 8620)
@@ -37,12 +37,10 @@
#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
+
+BOOL APIENTRY DllMain( HANDLE,
+ DWORD ul_reason_for_call,
+ LPVOID
)
{
switch (ul_reason_for_call)
@@ -55,4 +53,4 @@
}
return TRUE;
}
-#pragma warning( pop )
+
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:58:51 UTC (rev 8619)
+++ trunk/oggdsf/src/lib/codecs/theora/libs/libOOTheora/libOOTheora.cpp 2005-01-05 12:43:34 UTC (rev 8620)
@@ -34,12 +34,10 @@
#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
+
+BOOL APIENTRY DllMain( HANDLE,
+ DWORD ul_reason_for_call,
+ LPVOID
)
{
switch (ul_reason_for_call)
@@ -52,4 +50,4 @@
}
return TRUE;
}
-#pragma warning( pop )
+
Modified: trunk/oggdsf/src/lib/core/ogg/libOOOgg/libOOOgg.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOgg/libOOOgg.cpp 2005-01-05 08:58:51 UTC (rev 8619)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOgg/libOOOgg.cpp 2005-01-05 12:43:34 UTC (rev 8620)
@@ -34,15 +34,12 @@
#include "stdafx.h"
-//These ignore unreferenced formal parameter (lpReserved and hModule since they are unused)
-#pragma warning( push )
-#pragma warning( disable : 4100 )
#include <libOOOgg/libOOOgg.h>
-BOOL APIENTRY DllMain( HANDLE hModule,
- DWORD ul_reason_for_call,
- LPVOID lpReserved
+BOOL APIENTRY DllMain( HANDLE,
+ DWORD ul_reason_for_call,
+ LPVOID
)
{
switch (ul_reason_for_call)
@@ -56,6 +53,3 @@
return TRUE;
}
-//Stop ignoring
-#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:58:51 UTC (rev 8619)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOggSeek/libOOOggSeek.cpp 2005-01-05 12:43:34 UTC (rev 8620)
@@ -33,14 +33,12 @@
//
#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,
- DWORD ul_reason_for_call,
- LPVOID lpReserved
+BOOL APIENTRY DllMain( HANDLE,
+ DWORD ul_reason_for_call,
+ LPVOID
)
{
switch (ul_reason_for_call)
@@ -54,4 +52,3 @@
return TRUE;
}
-#pragma warning( pop )
\ No newline at end of file
Modified: trunk/oggdsf/src/lib/core/ogg/libVorbisComment/libVorbisComment.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libVorbisComment/libVorbisComment.cpp 2005-01-05 08:58:51 UTC (rev 8619)
+++ trunk/oggdsf/src/lib/core/ogg/libVorbisComment/libVorbisComment.cpp 2005-01-05 12:43:34 UTC (rev 8620)
@@ -35,12 +35,9 @@
#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
+BOOL APIENTRY DllMain( HANDLE,
+ DWORD ul_reason_for_call,
+ LPVOID
)
{
switch (ul_reason_for_call)
@@ -54,4 +51,3 @@
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:58:51 UTC (rev 8619)
+++ trunk/oggdsf/src/lib/helper/libOOOggChef/libOOOggChef.cpp 2005-01-05 12:43:34 UTC (rev 8620)
@@ -34,10 +34,6 @@
#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
@@ -54,4 +50,3 @@
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:58:51 UTC (rev 8619)
+++ trunk/oggdsf/src/lib/helper/libTemporalURI/libTemporalURI.cpp 2005-01-05 12:43:34 UTC (rev 8620)
@@ -3,12 +3,10 @@
#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
+
+BOOL APIENTRY DllMain( HANDLE,
+ DWORD ul_reason_for_call,
+ LPVOID
)
{
switch (ul_reason_for_call)
@@ -22,4 +20,3 @@
return TRUE;
}
-#pragma warning( pop )
\ No newline at end of file
Modified: trunk/oggdsf/src/lib/helper/libilliCore/libilliCore.cpp
===================================================================
--- trunk/oggdsf/src/lib/helper/libilliCore/libilliCore.cpp 2005-01-05 08:58:51 UTC (rev 8619)
+++ trunk/oggdsf/src/lib/helper/libilliCore/libilliCore.cpp 2005-01-05 12:43:34 UTC (rev 8620)
@@ -4,11 +4,9 @@
#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 hModule,
- DWORD ul_reason_for_call,
- LPVOID lpReserved
+BOOL APIENTRY DllMain( HANDLE,
+ DWORD ul_reason_for_call,
+ LPVOID
)
{
switch (ul_reason_for_call)
@@ -21,5 +19,3 @@
}
return TRUE;
}
-
-#pragma warning ( pop )
\ No newline at end of file
More information about the commits
mailing list