[xiph-commits] r17074 - trunk/vorbis-tools/ogginfo
giles at svn.xiph.org
giles at svn.xiph.org
Thu Mar 25 22:22:23 PDT 2010
Author: giles
Date: 2010-03-25 22:22:23 -0700 (Thu, 25 Mar 2010)
New Revision: 17074
Modified:
trunk/vorbis-tools/ogginfo/ogginfo2.c
Log:
Remove an unused variable.
The found flag was set on a match, but the value was never used.
Fixes a warning reported by scan-build.
Modified: trunk/vorbis-tools/ogginfo/ogginfo2.c
===================================================================
--- trunk/vorbis-tools/ogginfo/ogginfo2.c 2010-03-26 05:12:12 UTC (rev 17073)
+++ trunk/vorbis-tools/ogginfo/ogginfo2.c 2010-03-26 05:22:23 UTC (rev 17074)
@@ -982,7 +982,7 @@
static stream_processor *find_stream_processor(stream_set *set, ogg_page *page)
{
ogg_uint32_t serial = ogg_page_serialno(page);
- int i, found = 0;
+ int i;
int invalid = 0;
int constraint = 0;
stream_processor *stream;
@@ -990,7 +990,6 @@
for(i=0; i < set->used; i++) {
if(serial == set->streams[i].serial) {
/* We have a match! */
- found = 1;
stream = &(set->streams[i]);
set->in_headers = 0;
More information about the commits
mailing list