Use __VA_ARGS__ for all of error's arguments
[git.git] / config.c
index fb3f8681eed21ee81cfe36296c438ed135b98485..526f6823740bc266a15ea7488b4c834a36f58029 100644 (file)
--- a/config.c
+++ b/config.c
@@ -1660,6 +1660,7 @@ int git_config_rename_section(const char *old_name, const char *new_name)
  * Call this to report error for your variable that should not
  * get a boolean value (i.e. "[my] var" means "true").
  */
+#undef config_error_nonbool
 int config_error_nonbool(const char *var)
 {
        return error("Missing value for '%s'", var);