Mercurial > hg > forks > 3x666-SDL
changeset 26:7f7330567277
Silence some build warnings.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 15 Mar 2013 23:36:46 +0200 |
parents | f896fe6a98da |
children | 3f8f518905db |
files | 3x666.c |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/3x666.c Fri Mar 15 23:35:52 2013 +0200 +++ b/3x666.c Fri Mar 15 23:36:46 2013 +0200 @@ -65,7 +65,10 @@ void dmPrintVA(const char *fmt, va_list ap) { -#ifndef __WIN32 +#ifdef __WIN32 + (void) fmt; + (void) ap; +#else vfprintf(stderr, fmt, ap); #endif } @@ -73,7 +76,9 @@ void dmPrint(const char *fmt, ...) { -#ifndef __WIN32 +#ifdef __WIN32 + (void) fmt; +#else va_list ap; va_start(ap, fmt);