mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Fix MSVC warnings about unreferenced variables.
This commit is contained in:
parent
6000a19f70
commit
48a1a05a88
@ -68,7 +68,8 @@ namespace
|
||||
data.resize(dstEnd - data.begin());
|
||||
}
|
||||
catch(const utf8::exception &e) {
|
||||
debug(String("String::copyFromUTF8() - UTF8-CPP error: ") + e.what());
|
||||
const String message(e.what());
|
||||
debug("String::copyFromUTF8() - UTF8-CPP error: " + message);
|
||||
data.clear();
|
||||
}
|
||||
}
|
||||
@ -435,7 +436,8 @@ ByteVector String::data(Type t) const
|
||||
v.resize(static_cast<unsigned int>(dstEnd - v.begin()));
|
||||
}
|
||||
catch(const utf8::exception &e) {
|
||||
debug(String("String::data() - UTF8-CPP error: ") + e.what());
|
||||
const String message(e.what());
|
||||
debug("String::data() - UTF8-CPP error: " + message);
|
||||
v.clear();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user