mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 06:06:35 +00:00
Remove spurious assert
Remove nop assert that causes warnings on Clang.
This commit is contained in:
parent
13caf21018
commit
6425b8c1cf
@ -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)
|
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(filename && file_open_mode && out_file_data && out_file_size);
|
||||||
IM_ASSERT(padding_bytes >= 0);
|
|
||||||
*out_file_data = NULL;
|
*out_file_data = NULL;
|
||||||
*out_file_size = 0;
|
*out_file_size = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user