since sole argument to set_duplicate_opt_detection was unused, eliminate it altogether
This commit is contained in:
@@ -1869,7 +1869,7 @@ E char FDECL(map_menu_cmd, (CHAR_P));
|
||||
E void FDECL(show_menu_controls, (winid, BOOLEAN_P));
|
||||
E void FDECL(assign_warnings, (uchar *));
|
||||
E char *FDECL(nh_getenv, (const char *));
|
||||
E void FDECL(set_duplicate_opt_detection, (int));
|
||||
E void NDECL(reset_duplicate_opt_detection);
|
||||
E void FDECL(set_wc_option_mod_status, (unsigned long, int));
|
||||
E void FDECL(set_wc2_option_mod_status, (unsigned long, int));
|
||||
E void FDECL(set_option_mod_status, (const char *, int));
|
||||
|
||||
@@ -3059,7 +3059,7 @@ int src;
|
||||
return FALSE;
|
||||
|
||||
/* begin detection of duplicate configfile options */
|
||||
set_duplicate_opt_detection(1);
|
||||
reset_duplicate_opt_detection();
|
||||
free_config_sections();
|
||||
iflags.parse_config_file_src = src;
|
||||
|
||||
@@ -3068,7 +3068,7 @@ int src;
|
||||
|
||||
free_config_sections();
|
||||
/* turn off detection of duplicate configfile options */
|
||||
set_duplicate_opt_detection(0);
|
||||
reset_duplicate_opt_detection();
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
||||
@@ -5788,8 +5788,7 @@ boolean val_allowed;
|
||||
}
|
||||
|
||||
void
|
||||
set_duplicate_opt_detection(on_or_off)
|
||||
int on_or_off;
|
||||
reset_duplicate_opt_detection(VOID_ARGS)
|
||||
{
|
||||
int k;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user