fix optimized unused variable warning
This commit is contained in:
parent
fc1a0140a3
commit
a78fbf919d
@ -457,7 +457,9 @@ CURLcode res;
|
||||
DEBUG_TRACE(PBD::DEBUG::Freesound, string_compose("renaming %1.part to %1\n", audioFileName));
|
||||
int r = rename ( (audioFileName+".part").c_str(), audioFileName.c_str() );
|
||||
if (r != 0) {
|
||||
#ifndef NDEBUG
|
||||
const char *err = strerror(errno);
|
||||
#endif
|
||||
DEBUG_TRACE(PBD::DEBUG::Freesound, string_compose("rename() failed: %1\n", err));
|
||||
assert(0);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user