aboutsummaryrefslogtreecommitdiffstats
path: root/anchor.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2014-12-06 08:19:46 +0000
committerTatsuya Kinoshita <tats@debian.org>2014-12-06 08:19:46 +0000
commit0552b86da68c8cfba25641ffe76221a7774cf7b3 (patch)
treeb721962ead37bf45d63f311301becec2e115e7e1 /anchor.c
parentMerge branch 'bug/textarea-segfault' (diff)
parentFix a few harmless uninitialized variables (diff)
downloadw3m-0552b86da68c8cfba25641ffe76221a7774cf7b3.tar.gz
w3m-0552b86da68c8cfba25641ffe76221a7774cf7b3.zip
Merge branch 'bug/uninitialized'
Diffstat (limited to '')
-rw-r--r--anchor.c2
1 files changed, 1 insertions, 1 deletions
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;