Silence some GCC warnings about no return statement.

This commit is contained in:
Tsuda Kageyu 2015-11-22 18:42:49 +09:00
parent 83a0bc3710
commit 6978131d22

View File

@ -64,7 +64,8 @@ namespace
template <typename T>
inline FileName toFileName(T arg)
{
// Should never be called.
debug("FileRef::toFileName<T>(): 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<T>(): This version should never be called.");
return 0;
}
template <>