From eab3ae473c3bcbe0a3e32dce40af97c9b4bf6df8 Mon Sep 17 00:00:00 2001 From: Chris Ohk Date: Sun, 28 Mar 2021 01:11:57 +0900 Subject: [PATCH] Fix warning message C4100 (#3974) - warning C4100: 'fmt_out_size': unreferenced formal parameter --- imgui_widgets.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/imgui_widgets.cpp b/imgui_widgets.cpp index f3e9ee07..4098c066 100644 --- a/imgui_widgets.cpp +++ b/imgui_widgets.cpp @@ -2082,6 +2082,7 @@ static const char* ImAtoi(const char* src, TYPE* output) // - stb_sprintf.h supports several new modifiers which format numbers in a way that also makes them incompatible atof/atoi. static void SanitizeFormatString(const char* fmt, char* fmt_out, size_t fmt_out_size) { + IM_UNUSED(fmt_out_size); const char* fmt_end = ImParseFormatFindEnd(fmt); IM_ASSERT((size_t)(fmt_end - fmt + 1) < fmt_out_size); // Format is too long, let us know if this happens to you! while (fmt < fmt_end)