git-2.22.0/trace2/tr2_sysenv.c
/*
 * Return a friendly name for this setting that is suitable for printing
 * in an error messages.
 */
Return a friendly name for this setting that is suitable for printing
in an error messages.
Return a friendly name for this setting that is suitable for printing in an error messages .
const char *tr2_sysenv_display_name(enum tr2_sysenv_variable var)
{
	if (var >= TR2_SYSENV_MUST_BE_LAST)
		BUG("tr2_sysenv_get invalid var '%d'", var);
	return tr2_sysenv_settings[var].env_var_name;
}
const char * tr2_sysenv_display_name ( enum tr2_sysenv_variable var ) { if ( var >= TR2_SYSENV_MUST_BE_LAST ) BUG ( " " , var ) ; return tr2_sysenv_settings [ var ] . env_var_name ; }
Return a friendly name for this setting that is suitable for printing
 in an error messages.
Return a friendly name for this setting that is suitable for printing in an error messages .