From 8fa280cdbdc05c0e879f2968586326a067d4e434 Mon Sep 17 00:00:00 2001 From: Veselin Georgiev Date: Mon, 8 Dec 2008 16:53:59 +0000 Subject: [PATCH] Ported to strict C git-svn-id: https://svn.code.sf.net/p/libcpuid/code/HEAD/libcpuid@37 3b4be424-7ac5-41d7-8526-f4ddcb85d872 --- libcpuid/libcpuid_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcpuid/libcpuid_util.c b/libcpuid/libcpuid_util.c index dac8e9f..6c3e6e3 100644 --- a/libcpuid/libcpuid_util.c +++ b/libcpuid/libcpuid_util.c @@ -62,8 +62,8 @@ void warnf(const char* format, ...) void debugf(int verboselevel, const char* format, ...) { char buff[1024]; - if (verboselevel > _current_verboselevel) return; va_list va; + if (verboselevel > _current_verboselevel) return; va_start(va, format); vsnprintf(buff, sizeof(buff), format, va); va_end(va);