From a3f1d933cc5e61037100f5e60eac45764b8b4b50 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Thu, 11 Mar 2010 12:19:32 +0200 Subject: [PATCH] Bugfix. * src/names.c (collect_and_sort_names): Initialize prev_name. Reported by Dmitry V. Levin. --- src/names.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.44.0