diff --git a/src/conio/bitmap_con.c b/src/conio/bitmap_con.c
index 87aaab1ddf1420bd19d443fdfaa42c7e883f542e..f2e40cd931675c90a9898aaa932a97b29a00f518 100644
--- a/src/conio/bitmap_con.c
+++ b/src/conio/bitmap_con.c
@@ -1674,10 +1674,7 @@ bitmap_snap(bool grow, int maxwidth, int maxheight)
 	int wc;
 	int cw;
 	int cs;
-	int w, h;
 
-	w = vstat.winwidth;
-	h = vstat.winheight;
 	wc = bitmap_width_controls();
 	if (wc) {
 		mult = vstat.winwidth / vstat.scrnwidth;