• Max Kellermann's avatar
    inputPlugins/oggvorbis: removed unused variables · 5a62c5cf
    Max Kellermann authored
    The local variable eof can actually be replaced with a simple "break".
    With a negative ret, the value of chunkpos can be invalidated, I am
    not sure if this might have been a bug.
    
    [ew: no, a negative ret will correspond to ret == OV_HOLE and ret
    will be reset to zero leaving chunkpos untouched (code cleaned up
    to make this more obvious]
    
    git-svn-id: https://svn.musicpd.org/mpd/trunk@7202 09075e82-0dd4-0310-85a5-a0d7c8717e4f
    5a62c5cf
oggvorbis_plugin.c 9.45 KB