[xiph-commits] r16246 - trunk/vorbis/lib

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Thu Jul 9 20:19:29 PDT 2009


Author: xiphmont
Date: 2009-07-09 20:19:29 -0700 (Thu, 09 Jul 2009)
New Revision: 16246

Modified:
   trunk/vorbis/lib/vorbisfile.c
Log:
Eliminate a correct but harmless 'unititialized variable' warning from libvorbisfile compile.



Modified: trunk/vorbis/lib/vorbisfile.c
===================================================================
--- trunk/vorbis/lib/vorbisfile.c	2009-07-10 03:17:49 UTC (rev 16245)
+++ trunk/vorbis/lib/vorbisfile.c	2009-07-10 03:19:29 UTC (rev 16246)
@@ -229,8 +229,8 @@
 
   ogg_int64_t prefoffset=-1;
   ogg_int64_t offset=-1;
-  ogg_int64_t ret_serialno;
-  ogg_int64_t ret_gran;
+  ogg_int64_t ret_serialno=-1;
+  ogg_int64_t ret_gran=-1;
 
   while(offset==-1){
     begin-=CHUNKSIZE;



More information about the commits mailing list