mirror of
https://github.com/ocornut/imgui.git
synced 2026-02-06 04:20:08 +00:00
Various minor fixes following a pass of cppcheck static analyzer
This commit is contained in:
parent
3aa4a108ed
commit
4e3c6f64c0
3 changed files with 5 additions and 3 deletions
|
|
@ -79,7 +79,6 @@ bool binary_to_compressed_c(const char* filename, const char* symbol, bool use_b
|
|||
if (use_base85_encoding)
|
||||
{
|
||||
fprintf(out, "static const char %s_%sdata_base85[%d+1] =\n \"", symbol, compressed_str, (int)((compressed_sz+3)/4)*5);
|
||||
int column = 0;
|
||||
for (int i = 0; i < compressed_sz; i += 4)
|
||||
{
|
||||
unsigned int d = *(unsigned int*)(compressed + i);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue