[xiph-commits] r8574 - trunk/oggdsf/src/tools/AnxCutter
ozone at motherfish-iii.xiph.org
ozone at motherfish-iii.xiph.org
Sun Jan 2 06:03:28 PST 2005
Author: ozone
Date: 2005-01-02 06:03:28 -0800 (Sun, 02 Jan 2005)
New Revision: 8574
Modified:
trunk/oggdsf/src/tools/AnxCutter/AnxCutter.cpp
Log:
oggdsf:
* Fix some warnings
Modified: trunk/oggdsf/src/tools/AnxCutter/AnxCutter.cpp
===================================================================
--- trunk/oggdsf/src/tools/AnxCutter/AnxCutter.cpp 2005-01-02 11:49:36 UTC (rev 8573)
+++ trunk/oggdsf/src/tools/AnxCutter/AnxCutter.cpp 2005-01-02 14:03:28 UTC (rev 8574)
@@ -77,7 +77,7 @@
}
//This will be called by the callback
-bool pageCB(OggPage* inOggPage, void* inUserData /* ignored */) {
+bool pageCB(OggPage* inOggPage, void* /* ignored */) {
bool allEmpty = true;
@@ -222,7 +222,7 @@
// Stream-copy everything from the requested timepoint onward to the output file
inputFile.open(argv[1], ios_base::in | ios_base::binary);
inputFile.seekg(locSeekResult.second);
- while (true)
+ for (;;)
{
inputFile.read(locBuff, BUFF_SIZE);
unsigned long locBytesRead = inputFile.gcount();
More information about the commits
mailing list