shithub: choc

Download patch

ref: 8b5ee89f13534b37b4da5a5e7fbfa4324f2b3fdf
parent: 695e8b3d0942f23066279acdbf0be70c4e54420a
author: Turo Lamminen <[email protected]>
date: Sat Feb 17 11:13:40 EST 2018

Add format string attribute to I_Error

--- a/src/i_system.h
+++ b/src/i_system.h
@@ -52,7 +52,7 @@
 // Clean exit, displays sell blurb.
 void I_Quit (void);
 
-void I_Error (char *error, ...);
+void I_Error (char *error, ...) PRINTF_ATTR(1, 2);
 
 void I_Tactile (int on, int off, int total);