• Steven Liu's avatar
    tests/audiomatch: Fix compile warning · 50066278
    Steven Liu authored
    Making sure bestpos is initialized to zero to prevent gcc from kvetching.
    It's harmless (although it's not obvious that it's harmless)
    from code inspection:
    tests/audiomatch.c: In function ‘main’:
    tests/audiomatch.c:40: warning: ‘bestpos’ may be used uninitialized in this function
    
    Thanks to Moritz Barsnick for first bringing this to the attention.
    Signed-off-by: 's avatarLiuQi <liuqi@gosun.com>
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    50066278
audiomatch.c 3.27 KB