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