Commit fe3e2ba0 authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Close the va_list

Add missing va_end() to debug code.
Found by cppcheck static analysis.
Tagged as RedrawMgr-0_09-1 since our va_end is an empty macro.
parent f00260d8
...@@ -111,6 +111,7 @@ static void debug_output(char *tag,char *fmt,...) ...@@ -111,6 +111,7 @@ static void debug_output(char *tag,char *fmt,...)
va_start(list,fmt); va_start(list,fmt);
vsprintf(buf,fmt,list); vsprintf(buf,fmt,list);
debug_string(buf,tag); debug_string(buf,tag);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment