From 3bb12a14e954f626a9c65bb77d49d92a89488438 Mon Sep 17 00:00:00 2001 From: Marcin Wojdyr Date: Mon, 3 Feb 2020 14:42:35 +0100 Subject: [PATCH] stb_sprintf.h: fix unused-parameter warning --- stb_sprintf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/stb_sprintf.h b/stb_sprintf.h index 630d851..3ed40ca 100644 --- a/stb_sprintf.h +++ b/stb_sprintf.h @@ -1392,6 +1392,7 @@ static char *stbsp__clamp_callback(char *buf, void *user, int len) static char * stbsp__count_clamp_callback( char * buf, void * user, int len ) { + (void) buf; stbsp__context * c = (stbsp__context*)user; c->length += len;