From 05e162f00ad198d65aa83be1e5ea1d07b0838563 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 18 Jun 2002 17:19:38 -0400 Subject: [PATCH] ERR: Fixed compiler warnings when using strict ansi. --- Source/CursesDialog/form/frm_driver.c | 2 +- Source/CursesDialog/form/frm_req_name.c | 2 +- Source/CursesDialog/form/fty_alnum.c | 1 + Source/CursesDialog/form/fty_int.c | 1 + Source/CursesDialog/form/fty_ipv4.c | 7 +++++-- Source/CursesDialog/form/fty_num.c | 1 + Source/CursesDialog/form/fty_regex.c | 7 +++++++ 7 files changed, 17 insertions(+), 4 deletions(-) diff --git a/Source/CursesDialog/form/frm_driver.c b/Source/CursesDialog/form/frm_driver.c index 596371b1cd..d48bcd2555 100644 --- a/Source/CursesDialog/form/frm_driver.c +++ b/Source/CursesDialog/form/frm_driver.c @@ -3797,7 +3797,7 @@ int set_field_buffer(FIELD * field, int buffer, const char * value) unsigned int i; for(i=len; icompiled_expression) match = (step(field_buffer(field,0),ap->compiled_expression) ? TRUE:FALSE); +#else + argp=0; /* Silence unused parameter warning. */ + field=0; /* Silence unused parameter warning. */ #endif return match; }