From 6978131d228aed7b49a5b6758cfb6effc3329742 Mon Sep 17 00:00:00 2001 From: Tsuda Kageyu Date: Sun, 22 Nov 2015 18:42:49 +0900 Subject: [PATCH] Silence some GCC warnings about no return statement. --- taglib/fileref.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 <>