From fc754b42ec0f0638b2970e6da3d9ad99423a02e7 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Sat, 6 Dec 2014 17:18:49 +0900 Subject: Fix a few harmless uninitialized variables Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-uninitialized.patch?expand=1 --- anchor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'anchor.c') diff --git a/anchor.c b/anchor.c index 39f221d..a353bb9 100644 --- a/anchor.c +++ b/anchor.c @@ -11,7 +11,7 @@ putAnchor(AnchorList *al, char *url, char *target, Anchor **anchor_return, { int n, i, j; Anchor *a; - BufferPoint bp; + BufferPoint bp = { 0 }; if (al == NULL) { al = New(AnchorList); al->anchors = NULL; -- cgit v1.2.3