diff options
author | wm4 <wm4@nowhere> | 2013-05-19 15:47:34 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-05-21 00:04:27 +0200 |
commit | 266230ad64eddb663cfcf12ad248f9ae178d22ba (patch) | |
tree | a04933bf838f7c0e24f408fa581e91cb01c18fa9 /stream/stream_cddb.c | |
parent | 3b54dce9e518488588b213ce6cf90218e79fb0f6 (diff) | |
download | mpv-266230ad64eddb663cfcf12ad248f9ae178d22ba.tar.bz2 mpv-266230ad64eddb663cfcf12ad248f9ae178d22ba.tar.xz |
Silence some compiler warnings
None of these were actual issues.
Diffstat (limited to 'stream/stream_cddb.c')
-rw-r--r-- | stream/stream_cddb.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/stream/stream_cddb.c b/stream/stream_cddb.c index 7f4558e7e7..5a6ba4e280 100644 --- a/stream/stream_cddb.c +++ b/stream/stream_cddb.c @@ -879,14 +879,13 @@ cd_info_t *cddb_parse_xmcd(char *xmcd_file) // Ignore comments if (ptr[0] != '#') { // Search for the album title - if (xmcd_parse_dtitle(cd_info, ptr)) - ; - // Search for the genre - else if (xmcd_parse_dgenre(cd_info, ptr)) - ; - // Search for a track title - else if (xmcd_parse_ttitle(cd_info, ptr)) - ; + if (!xmcd_parse_dtitle(cd_info, ptr)) { + // Search for the genre + if (!xmcd_parse_dgenre(cd_info, ptr)) { + // Search for a track title + xmcd_parse_ttitle(cd_info, ptr); + } + } } if (ptr2[1] == '\n') ptr2++; |