]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - conout.c
Get gmqcc/qcvm compiling on windows again. Plus work in progress support for the...
[xonotic/gmqcc.git] / conout.c
index 169aaa74fd70aa8825c1640dbe6d9486d426a07f..ff012c72067fbb6d7a4e34d97ee3aebc88690121 100644 (file)
--- a/conout.c
+++ b/conout.c
@@ -110,7 +110,6 @@ static void win_fputs(char *str, FILE *h) {
     int icolor;
 
     int state;
-    int place;
 
     /* attributes */
     int intense  =  -1;
@@ -219,7 +218,7 @@ static int con_write(FILE *handle, const char *fmt, va_list va) {
         data[ln] = 0;
         vsprintf(data, fmt, va);
         if (GMQCC_IS_DEFINE(handle))
-            ln = win_fputs(data, handle);
+            win_fputs(data, handle);
         else
             ln = fputs(data, handle);
         free(data);