summaryrefslogtreecommitdiffstats
path: root/source/cLog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/cLog.cpp')
-rw-r--r--source/cLog.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/source/cLog.cpp b/source/cLog.cpp
index f8d1c731b..cf8448d8b 100644
--- a/source/cLog.cpp
+++ b/source/cLog.cpp
@@ -98,15 +98,7 @@ void cLog::ClearLog()
void cLog::Log(const char * a_Format, va_list argList)
{
AString Message;
- if (argList != NULL)
- {
- AppendVPrintf(Message, a_Format, argList);
- }
- else
- {
- // This branch needs to be here because of *nix crashing in vsnprintf() when argList is NULL
- Message.assign(a_Format);
- }
+ AppendVPrintf(Message, a_Format, argList);
time_t rawtime;
time ( &rawtime );