]> Dogcows Code - chaz/tar/commitdiff
Bugfix.
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 11 Mar 2010 10:19:32 +0000 (12:19 +0200)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 11 Mar 2010 10:19:32 +0000 (12:19 +0200)
* src/names.c (collect_and_sort_names): Initialize prev_name.
Reported by Dmitry V. Levin.

src/names.c

index 1146020b2458f5a07fa5c534ea1511e596f3b703..ea2ce76ee0a989cb6198ab23c0c61c8800d44cb9 100644 (file)
@@ -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;
This page took 0.023751 seconds and 4 git commands to generate.