From f244fa09c70ef319dc9f93b1ed230faf6dfcb787 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Fri, 19 Aug 2016 20:46:48 -0300 Subject: [PATCH] eeshow/gui/gui.c (add_hist): initialize hist->libs_open This is normally done by parse_files, except when we can't find the schematics file. --- eeshow/gui/gui.c | 1 + 1 file changed, 1 insertion(+) diff --git a/eeshow/gui/gui.c b/eeshow/gui/gui.c index 3a66c9a..ec738ca 100644 --- a/eeshow/gui/gui.c +++ b/eeshow/gui/gui.c @@ -316,6 +316,7 @@ static void add_hist(void *user, struct hist *h) hist = alloc_type(struct gui_hist); hist->ctx = ctx; hist->vcs_hist = h; + hist->libs_open = 0; hist->identical = 0; sch = parse_files(hist, ahc->n_args, ahc->args, ahc->recurse, prev); hist->sheets = sch ? get_sheets(ctx, sch) : NULL;