From a19b05d262dd1695638c219e23866c9be825d25d Mon Sep 17 00:00:00 2001 From: Bart House Date: Tue, 20 Nov 2018 10:29:05 -0800 Subject: [PATCH] Added initialization of cc in do_look() to quite compiler warnings. --- src/pager.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pager.c b/src/pager.c index d9bdb4f63..f8146615d 100644 --- a/src/pager.c +++ b/src/pager.c @@ -1066,6 +1066,9 @@ coord *click_cc; boolean save_verbose; /* saved value of flags.verbose */ boolean from_screen; /* question from the screen */ + cc.x = 0; + cc.y = 0; + if (!clicklook) { if (quick) { from_screen = TRUE; /* yes, we want to use the cursor */