# HG changeset patch # User chainsaw # Date 1146521308 25200 # Node ID c0bc62c5dec11333aa7e3a54689fbd15ba9320d5 # Parent 386cda529c2803877e0ae39d670d04b263a5696d [svn] A GCC warning pointed out that the *bp++ statement did not actually do anything useful, quite certain that the author intended \(*bp\)++ or *bp += 1 here. diff -r 386cda529c28 -r c0bc62c5dec1 Plugins/General/scrobbler/tags/id3v2.c --- a/Plugins/General/scrobbler/tags/id3v2.c Mon May 01 14:20:50 2006 -0700 +++ b/Plugins/General/scrobbler/tags/id3v2.c Mon May 01 15:08:28 2006 -0700 @@ -339,12 +339,12 @@ } if((frameflags[1] & 0x04) == 0x04) { - *bp++; + (*bp)++; framesize--; } if((frameflags[1] & 0x40) == 0x40) { - *bp++; + (*bp)++; framesize--; } } @@ -367,12 +367,12 @@ } if((frameflags[1] & 0x40) == 0x40) { - *bp++; + (*bp)++; framesize--; } if((frameflags[1] & 0x20) == 0x20) { - *bp++; + (*bp)++; framesize--; } }