]> git.sur5r.net Git - cc65/blobdiff - src/cc65/asmcode.c
Added the io module
[cc65] / src / cc65 / asmcode.c
index b62d36dcdc6d207e825af8df07c11dd9288254c6..1b3706453eab4705311d276b8833286d611295fd 100644 (file)
@@ -67,8 +67,12 @@ void AddCodeHint (const char* Hint)
 
 void AddEmptyLine (void)
 /* Add an empty line for formatting purposes */
-{
-    AddCodeLine ("");
+{                        
+    /* Use a somewhat weird construct to avoid that gcc complains about 
+     * an empty format string.
+     */
+    static const char EmptyLine[] = "";
+    AddCodeLine (EmptyLine);
 }