diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-31 18:28:24 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2002-01-31 18:28:24 +0000 |
commit | 4c7c352e4702973aa067da874124458130da6b69 (patch) | |
tree | 692a321abc5b1b3a32d256b9be9fb9dff2f6d63e /anchor.c | |
parent | w3m-img merge (w3m-0.2.4+cvs-1.278-img-2.2.patch.gz) (diff) | |
download | w3m-4c7c352e4702973aa067da874124458130da6b69.tar.gz w3m-4c7c352e4702973aa067da874124458130da6b69.zip |
gcc -Wall -Werror safe
* anchor.c (addMultirowsImg): unused variable: fi
* display.c (redrawLineImage): unused variable: ncol
* file.c (process_img): uninitialized variables: r2, ni, w0, i0, ismap
unused variable: url, ext
* file.c (loadHTMLstream): need volatile image_flag
* image.c (image_index): int
* image.c (getCharSize): need prototype
* image.c (getImage): uninitialized variable: key
return NULL
* map.c (follow_map_menu): used only USE_IMAGE: px, py, map
* map.c (newMapArea): used only USE_IMAGE: p, i, max
* proto.h (addMultirowsImg): added
* w3mimgdisplay.c (main): format string fix
* w3mimgdisplay.c (DrawImage): need (Pixmap) cast
* inflate.c: indent
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'anchor.c')
-rw-r--r-- | anchor.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: anchor.c,v 1.8 2002/01/31 17:54:48 ukai Exp $ */ +/* $Id: anchor.c,v 1.9 2002/01/31 18:28:24 ukai Exp $ */ #include "fm.h" #include "myctype.h" #include "regex.h" @@ -470,7 +470,6 @@ addMultirowsImg(Buffer *buf, AnchorList *al) l->propBuf[k] |= PE_ANCHOR; } if (a_form.url) { - FormItemList *fi = (FormItemList *)a_form.url; buf->formitem = putAnchor(buf->formitem, a_form.url, a_form.target, &a, NULL, l->linenumber, pos); |