From 0cf64915e11b57f96c6e72518aee13891cf2b76f Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 1 Nov 2010 16:03:50 +0000 Subject: COMMON: Add debugN variant without level parameter This makes our various debug*() functions fully symmetric, for now. svn-id: r54008 --- common/debug.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'common/debug.cpp') diff --git a/common/debug.cpp b/common/debug.cpp index 52ff4307dd..b718b7917f 100644 --- a/common/debug.cpp +++ b/common/debug.cpp @@ -190,6 +190,14 @@ void debug(int level, const char *s, ...) { } +void debugN(const char *s, ...) { + va_list va; + + va_start(va, s); + debugHelper(s, va, false); + va_end(va); +} + void debugN(int level, const char *s, ...) { va_list va; -- cgit v1.2.3