From: Peter Maydell Date: Mon, 20 Dec 2010 21:13:32 +0000 (+0000) Subject: Fix used-uninitialised warning in new.c X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/93f22073ff22b277206b0481c1f8f076aee1656d?ds=inline;hp=93f22073ff22b277206b0481c1f8f076aee1656d Fix used-uninitialised warning in new.c Fix a used-uninitialised warning in new.c by having the check_folders() routine return first=last=NULL for empty folder lists. This is a more sensible API anyway. (It would not actually have been possible for the code to try to use last while it was uninitialised, as it happens.) Signed-off-by: Peter Maydell ---