aboutsummaryrefslogtreecommitdiffstats
path: root/menu.c
diff options
context:
space:
mode:
authorDavid Crosby <dave@dafyddcrosby.com>2015-07-15 14:55:08 +0000
committerTatsuya Kinoshita <tats@debian.org>2015-08-11 12:59:27 +0000
commit7e5b33c30ece6f265593cc442ff5a8579faef8ad (patch)
tree4389d759cd838f9b71528b9848510831774e7674 /menu.c
parentMove fclose to fix dereference after null check (Coverity) (diff)
downloadw3m-7e5b33c30ece6f265593cc442ff5a8579faef8ad.tar.gz
w3m-7e5b33c30ece6f265593cc442ff5a8579faef8ad.zip
Remove dead assignments flagged by Clang static analysis
Diffstat (limited to '')
-rw-r--r--menu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 2b8a6c2..e968034 100644
--- a/menu.c
+++ b/menu.c
@@ -361,7 +361,6 @@ geom_menu(Menu *menu, int x, int y, int mselect)
if (win_w > COLS) {
menu->width = COLS - 2 * FRAME_WIDTH;
menu->width -= menu->width % FRAME_WIDTH;
- win_w = menu->width + 2 * FRAME_WIDTH;
}
}
menu->x = win_x + FRAME_WIDTH;