From baa06efe57cfea211ed87fc6b014de03c025162c Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 19 Nov 1996 23:21:52 +0000 Subject: Remove two uninitialized and unused variables that used to cause a segfault before. --- usr.sbin/tzsetup/tzsetup.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr.sbin/tzsetup/tzsetup.c') diff --git a/usr.sbin/tzsetup/tzsetup.c b/usr.sbin/tzsetup/tzsetup.c index f0a60cc..d3f06bc 100644 --- a/usr.sbin/tzsetup/tzsetup.c +++ b/usr.sbin/tzsetup/tzsetup.c @@ -26,7 +26,7 @@ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: tzsetup.c,v 1.1 1996/11/19 18:09:40 wollman Exp $ */ /* @@ -617,7 +617,6 @@ int main(int argc, char **argv) { int c; - int ch, sc; while ((c = getopt(argc, argv, "n")) != -1) { switch(c) { @@ -644,7 +643,7 @@ main(int argc, char **argv) init_dialog(); dialog_menu("Time Zone Selector", "Select a region", -1, -1, - NCONTINENTS, -NCONTINENTS, continents, 0, &ch, &sc); + NCONTINENTS, -NCONTINENTS, continents, 0, NULL, NULL); end_dialog(); return 0; } -- cgit v1.1