From: Tsuda Kageyu Date: Sun, 22 Nov 2015 09:42:49 +0000 (+0900) Subject: Silence some GCC warnings about no return statement. X-Git-Tag: v1.11beta~103 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6978131d228aed7b49a5b6758cfb6effc3329742;p=taglib Silence some GCC warnings about no return statement. --- diff --git a/taglib/fileref.cpp b/taglib/fileref.cpp index 7cf78803..4b01e719 100644 --- a/taglib/fileref.cpp +++ b/taglib/fileref.cpp @@ -64,7 +64,8 @@ namespace template inline FileName toFileName(T arg) { - // Should never be called. + debug("FileRef::toFileName(): This version should never be called."); + return FileName(L""); } template <> @@ -83,7 +84,8 @@ namespace inline File *resolveFileType(T arg, bool readProperties, AudioProperties::ReadStyle style) { - // Should never be called. + debug("FileRef::resolveFileType(): This version should never be called."); + return 0; } template <>