From 5fd72f0f1a2f1534bfa7ee7a13b82970d6e8227c Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Tue, 7 Mar 2006 22:05:44 +0000 Subject: Initialize the new "flags" integer when creating a list. --- Src/zsh.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Src/zsh.h') diff --git a/Src/zsh.h b/Src/zsh.h index d1ea5b359..e1e53f6b3 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -415,12 +415,14 @@ union linkroot { do { \ (N).list.first = NULL; \ (N).list.last = &(N).node; \ + (N).list.flags = 0; \ } while (0) #define local_list1(N) union linkroot N; struct linknode __n0 #define init_list1(N,V0) \ do { \ (N).list.first = &__n0; \ (N).list.last = &__n0; \ + (N).list.flags = 0; \ __n0.next = NULL; \ __n0.prev = &(N).node; \ __n0.dat = (void *) (V0); \ -- cgit 1.4.1