diff --git a/src/frontend/plotting/plotit.c b/src/frontend/plotting/plotit.c index f23f46002..b37b7d7ba 100644 --- a/src/frontend/plotting/plotit.c +++ b/src/frontend/plotting/plotit.c @@ -279,6 +279,7 @@ plotit(wordlist *wl, char *hcopy, char *devname) */ if(wl->wl_prev) { wl = wl->wl_prev; + tw = NULL; /* Not used, so must be NULL */ } else { tw = alloc(struct wordlist); wl->wl_prev = tw;