projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
716a736
)
ogg_afh_common.c: Remove pointless loop counter.
author
Andre Noll
<maan@systemlinux.org>
Fri, 14 Jan 2011 18:51:22 +0000
(19:51 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Fri, 14 Jan 2011 18:51:22 +0000
(19:51 +0100)
The integer variable i is not used at all in the loop body.
ogg_afh_common.c
patch
|
blob
|
history
diff --git
a/ogg_afh_common.c
b/ogg_afh_common.c
index 54e92956c641eb8cc8d88ce2a2f9c8920b32a6d6..6642fed35208564c3b5f131c5be0740cb27a58db 100644
(file)
--- a/
ogg_afh_common.c
+++ b/
ogg_afh_common.c
@@
-163,7
+163,7
@@
int ogg_get_file_info(char *map, size_t numbytes, struct afh_info *afhi,
afhi->chunk_table[1] = afhi->header_len;
oss.returned = afhi->header_len;
oss.fill = numbytes;
- for (
i = 0, j = 1; ogg_sync_pageseek(&oss, &op) > 0; i++
) {
+ for (
j = 1; ogg_sync_pageseek(&oss, &op) > 0; /* nothing */
) {
int granule = ogg_page_granulepos(&op);
while (granule > j * frames_per_chunk) {