From 45e5e5c6eee953ef44296ffab19c0d458116c9c8 Mon Sep 17 00:00:00 2001 From: Edoardo Prezioso Date: Sat, 10 Dec 2016 13:01:49 +0100 Subject: [PATCH] - Add missing GCCPRINTF to FraggleScript script_error function. This will help spotting errors inside FraggleScript. --- src/fragglescript/t_script.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fragglescript/t_script.h b/src/fragglescript/t_script.h index f0409a3f0b..43f34acd4f 100644 --- a/src/fragglescript/t_script.h +++ b/src/fragglescript/t_script.h @@ -718,7 +718,7 @@ public: #include "t_fs.h" -void script_error(const char *s, ...); +void script_error(const char *s, ...) GCCPRINTF(1,2); void FS_EmulateCmd(char * string); extern AActor *trigger_obj;