Commit 26da31a5 authored by conrad's avatar conrad

remove unused vars in oggz_read_get_next_page()

parent 91fa0789
...@@ -181,8 +181,7 @@ static oggz_off_t ...@@ -181,8 +181,7 @@ static oggz_off_t
oggz_read_get_next_page (OGGZ * oggz, ogg_page * og) oggz_read_get_next_page (OGGZ * oggz, ogg_page * og)
{ {
OggzReader * reader = &oggz->x.reader; OggzReader * reader = &oggz->x.reader;
long bytes = 0, more; long more;
oggz_off_t page_offset = 0, ret;
int found = 0; int found = 0;
/* Increment oggz->offset by length of the last page processed */ /* Increment oggz->offset by length of the last page processed */
...@@ -193,13 +192,11 @@ oggz_read_get_next_page (OGGZ * oggz, ogg_page * og) ...@@ -193,13 +192,11 @@ oggz_read_get_next_page (OGGZ * oggz, ogg_page * og)
if (more == 0) { if (more == 0) {
/* No page available */ /* No page available */
page_offset = 0;
return -2; return -2;
} else if (more < 0) { } else if (more < 0) {
#ifdef DEBUG_VERBOSE #ifdef DEBUG_VERBOSE
printf ("get_next_page: skipped %ld bytes\n", -more); printf ("get_next_page: skipped %ld bytes\n", -more);
#endif #endif
page_offset += (-more);
oggz->offset += (-more); oggz->offset += (-more);
} else { } else {
#ifdef DEBUG_VERBOSE #ifdef DEBUG_VERBOSE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment