mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
software/libbase: Remove empty printf statements
To fix compiler warnings of the following type: warning: zero-length gnu_printf format string [-Wformat-zero-length] Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
This commit is contained in:
parent
bff23b8f73
commit
b979e69934
2 changed files with 0 additions and 3 deletions
|
@ -156,7 +156,6 @@ static void gdb_stub(unsigned long pc, unsigned long sr,
|
||||||
}
|
}
|
||||||
|
|
||||||
default:
|
default:
|
||||||
snprintf(buf, sizeof(buf), "");
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -61,6 +61,4 @@ void init_progression_bar(int max)
|
||||||
spin = 0;
|
spin = 0;
|
||||||
if (progress_max && progress_max != FILESIZE_MAX)
|
if (progress_max && progress_max != FILESIZE_MAX)
|
||||||
printf("[%*s]\r[", HASHES_PER_LINE, "");
|
printf("[%*s]\r[", HASHES_PER_LINE, "");
|
||||||
else
|
|
||||||
printf("");
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue