]> granicus.if.org Git - taglib/commit
Fixed error "Branch condition evaluates to a garbage value" (from Xcode 4.3.3 Static...
authorElia Cereda <eliacereda@gmail.com>
Sat, 30 Jun 2012 14:25:33 +0000 (16:25 +0200)
committerElia Cereda <eliacereda@gmail.com>
Sat, 30 Jun 2012 14:25:33 +0000 (16:25 +0200)
commitc68fe9ad7b43cf18186855107a7f53c534d08a27
tree33f976a19de8313ce56fc622d9b9f23d91d14117
parent81aac3a590ad245994a7faa157785021d0b01d8b
Fixed error "Branch condition evaluates to a garbage value" (from Xcode 4.3.3 Static Analyzer, mpeg/id3v2/id3v2tag.cpp:377)

This error occurs when the frame variable is left uninitialized because its id doesn't match any of the ids in the if and else-id cases. Initializing it on declaration fixes this issue.
taglib/mpeg/id3v2/id3v2tag.cpp