mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Silence some GCC warnings about no return statement.
This commit is contained in:
parent
83a0bc3710
commit
6978131d22
@ -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 <>
|
||||
|
Loading…
x
Reference in New Issue
Block a user