Fix a few harmless uninitialized variables

Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-uninitialized.patch?expand=1
This commit is contained in:
Olaf Hering
2014-12-06 17:18:49 +09:00
committed by Tatsuya Kinoshita
parent a1b70ec952
commit fc754b42ec
4 changed files with 4 additions and 2 deletions

View File

@@ -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;