Kaydet (Commit) 3a6d752e authored tarafından Zackery Spytz's avatar Zackery Spytz Kaydeden (comit) Steve Dower

Add missing va_end() calls in PC/launcher.c (GH-7690)

üst ee5ef309
......@@ -61,6 +61,7 @@ debug(wchar_t * format, ...)
if (log_fp != NULL) {
va_start(va, format);
vfwprintf_s(log_fp, format, va);
va_end(va);
}
}
......@@ -83,6 +84,7 @@ error(int rc, wchar_t * format, ... )
va_start(va, format);
len = _vsnwprintf_s(message, MSGSIZE, _TRUNCATE, format, va);
va_end(va);
if (rc == 0) { /* a Windows error */
winerror(GetLastError(), win_message, MSGSIZE);
......
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