Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@xxxxxxxxxxxx> --- commands/splash.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commands/splash.c b/commands/splash.c index 65dd530..4cc463e 100644 --- a/commands/splash.c +++ b/commands/splash.c @@ -19,6 +19,10 @@ static int do_splash(int argc, char *argv[]) u32 bg_color = 0x00000000; bool do_bg = false; + memset(&s, 0, sizeof(s)); + memset(&sc, 0, sizeof(sc)); + memset(&info, 0, sizeof(info)); + s.x = -1; s.y = -1; s.width = -1; -- 1.7.10.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox