diff --git a/src/JsonUtil.cpp b/src/JsonUtil.cpp index be736ea4b5..755036e770 100644 --- a/src/JsonUtil.cpp +++ b/src/JsonUtil.cpp @@ -14,8 +14,7 @@ bool JsonUtil::LoadFromString(Json::Value &root, RString sData, RString &sErrorO if (!parsingSuccessful) { RString err = reader.getFormatedErrorMessages(); - sErrorOut = ssprintf("JSON: LoadFromFileShowErrors failed: %s", err.c_str()); - LOG->Warn(sErrorOut); + LOG->Warn("JSON: LoadFromFileShowErrors failed: %s", err.c_str()); return false; } return true; diff --git a/src/NetworkSyncManager.cpp b/src/NetworkSyncManager.cpp index b49720a46a..66a4a1b4de 100644 --- a/src/NetworkSyncManager.cpp +++ b/src/NetworkSyncManager.cpp @@ -237,7 +237,7 @@ void NetworkSyncManager::ReportScore(int playerID, int step, int score, int comb if( !useSMserver ) //Make sure that we are using the network return; - LOG->Trace( ssprintf("Player ID %i combo = %i", playerID, combo) ); + LOG->Trace( "Player ID %i combo = %i", playerID, combo ); m_packet.ClearPacket(); m_packet.Write1( NSCGSU );