mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
fix optimized unused variable warning
This commit is contained in:
parent
fc1a0140a3
commit
a78fbf919d
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue