From e8e02d5a5df930e75fbe647ca9fab2551aad7df4 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 13 Mar 2008 12:04:36 +0100 Subject: [PATCH] Initialize a.prev to NULL --- common/xscreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/xscreen.c b/common/xscreen.c index a8b8c9385..2988b1da1 100644 --- a/common/xscreen.c +++ b/common/xscreen.c @@ -55,7 +55,7 @@ screen_xsi_to_area(XineramaScreenInfo si) a.y = si.y_org; a.width = si.width; a.height = si.height; - a.next = NULL; + a.next = a.prev = NULL; return a; }