diff --git a/litex/soc/software/libbase/exception.c b/litex/soc/software/libbase/exception.c index 74a0ed14f..853e956a1 100644 --- a/litex/soc/software/libbase/exception.c +++ b/litex/soc/software/libbase/exception.c @@ -156,7 +156,6 @@ static void gdb_stub(unsigned long pc, unsigned long sr, } default: - snprintf(buf, sizeof(buf), ""); break; } diff --git a/litex/soc/software/libbase/progress.c b/litex/soc/software/libbase/progress.c index 829f07f0e..2c5bac3b4 100644 --- a/litex/soc/software/libbase/progress.c +++ b/litex/soc/software/libbase/progress.c @@ -61,6 +61,4 @@ void init_progression_bar(int max) spin = 0; if (progress_max && progress_max != FILESIZE_MAX) printf("[%*s]\r[", HASHES_PER_LINE, ""); - else - printf(""); }