From 83d7df09c423141afe4711cfe05dbc3067739e1d Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 13 Nov 2001 12:42:45 -0500 Subject: warnings --- Source/CursesDialog/form/fty_num.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Source/CursesDialog/form/fty_num.c b/Source/CursesDialog/form/fty_num.c index ba15ab8..4ba69e1 100644 --- a/Source/CursesDialog/form/fty_num.c +++ b/Source/CursesDialog/form/fty_num.c @@ -107,7 +107,6 @@ static bool Check_Numeric_Field(FIELD * field, const void * argp) unsigned char *bp = (unsigned char *)field_buffer(field,0); char *s = (char *)bp; double val = 0.0; - struct lconv* L = argn->L; char buf[64]; while(*bp && *bp==' ') bp++; @@ -162,9 +161,6 @@ static bool Check_Numeric_Field(FIELD * field, const void * argp) +--------------------------------------------------------------------------*/ static bool Check_Numeric_Character(int c, const void * argp) { - const numericARG *argn = (const numericARG *)argp; - struct lconv* L = argn->L; - return (isdigit(c) || c == '+' || c == '-' || -- cgit v0.12