diff --git a/doomsday/apps/client/src/audio/s_mus.cpp b/doomsday/apps/client/src/audio/s_mus.cpp index 2d435c4463..9426a2a84f 100644 --- a/doomsday/apps/client/src/audio/s_mus.cpp +++ b/doomsday/apps/client/src/audio/s_mus.cpp @@ -29,7 +29,6 @@ #include "clientapp.h" #include "dd_main.h" // isDedicated -#include "audio/audiodriver.h" #include "audio/m_mus2midi.h" #include @@ -61,12 +60,8 @@ static String composeBufferFilename(String const &ext = "") ::needBufFileSwitch = false; } - String name = BUFFERED_MUSIC_FILE + String::number(currentBufFile); - if(!ext.isEmpty()) - { - return name + ext; - } - return name; + // Compose the name. + return BUFFERED_MUSIC_FILE + String::number(currentBufFile) + ext; } /**