wmcdplay: Fix -Wunused-result compiler warnings.
commit0716c46281ea524ae84f602e146370fa791302d4
authorDoug Torrance <dtorrance@monmouthcollege.edu>
Thu, 18 Dec 2014 18:30:50 +0000 (18 12:30 -0600)
committerCarlos R. Mafra <crmafra@gmail.com>
Thu, 18 Dec 2014 18:43:10 +0000 (18 18:43 +0000)
treeca83ba1a16acaef013a1d3279e52014adebc5b0d
parent7959aa4cda19e10a4ae991999898c5974a118c9e
wmcdplay: Fix -Wunused-result compiler warnings.

In particular, fix warnings of the form "warning: ignoring return value of
‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result" by
checking return value of fgets.
wmcdplay/wmcdplay.cc