From: Sergey Poznyakoff Date: Thu, 11 Mar 2010 10:19:32 +0000 (+0200) Subject: Bugfix. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=a3f1d933cc5e61037100f5e60eac45764b8b4b50;p=chaz%2Ftar Bugfix. * src/names.c (collect_and_sort_names): Initialize prev_name. Reported by Dmitry V. Levin. --- diff --git a/src/names.c b/src/names.c index 1146020..ea2ce76 100644 --- a/src/names.c +++ b/src/names.c @@ -871,7 +871,7 @@ void collect_and_sort_names (void) { struct name *name; - struct name *next_name, *prev_name; + struct name *next_name, *prev_name = NULL; int num_names; struct stat statbuf; Hash_table *nametab;