From 6425b8c1cf5afe8f9cb290afa3fc3981144af3a5 Mon Sep 17 00:00:00 2001 From: Josh Simmons Date: Thu, 19 Mar 2015 22:42:17 +1100 Subject: [PATCH] Remove spurious assert Remove nop assert that causes warnings on Clang. --- imgui.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index d9a00d62..5ae03a54 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -828,7 +828,6 @@ void ImGui::ColorConvertHSVtoRGB(float h, float s, float v, float& out_r, float& static bool ImLoadFileToMemory(const char* filename, const char* file_open_mode, void** out_file_data, size_t* out_file_size, size_t padding_bytes) { IM_ASSERT(filename && file_open_mode && out_file_data && out_file_size); - IM_ASSERT(padding_bytes >= 0); *out_file_data = NULL; *out_file_size = 0;