From a984fb17c2be039502eff55472dd6a252e5570df Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 1 Nov 2010 16:03:35 +0000 Subject: GUI: Add GCC_PRINTF to GUI::Debugger::DebugPrintf & fix resulting warnings svn-id: r54007 --- gui/debugger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui') diff --git a/gui/debugger.h b/gui/debugger.h index 6f06befdf1..4bac2e1f03 100644 --- a/gui/debugger.h +++ b/gui/debugger.h @@ -41,7 +41,7 @@ public: Debugger(); virtual ~Debugger(); - int DebugPrintf(const char *format, ...); + int DebugPrintf(const char *format, ...) GCC_PRINTF(2, 3); /** * The onFrame() method should be invoked by the engine at regular -- cgit v1.2.3