wpp: Shed an unused parameter from generic_msg.

Gerald Pfeifer gerald at pfeifer.com
Sat Feb 12 17:46:34 CST 2011


---
 libs/wpp/preproc.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/libs/wpp/preproc.c b/libs/wpp/preproc.c
index 2eb3133..bbc2538 100644
--- a/libs/wpp/preproc.c
+++ b/libs/wpp/preproc.c
@@ -674,7 +674,7 @@ int pp_get_if_depth(void)
 
 /* #define WANT_NEAR_INDICATION */
 
-static void generic_msg(const char *s, const char *t, const char *n, va_list ap)
+static void generic_msg(const char *s, const char *t, va_list ap)
 {
 	fprintf(stderr, "%s:%d:%d: %s: ", pp_status.input ? pp_status.input : "stdin",
                 pp_status.line_number, pp_status.char_number, t);
@@ -699,13 +699,13 @@ end:
 
 static void wpp_default_error(const char *file, int line, int col, const char *near, const char *msg, va_list ap)
 {
-	generic_msg(msg, "Error", near, ap);
+	generic_msg(msg, "Error", ap);
 	exit(1);
 }
 
 static void wpp_default_warning(const char *file, int line, int col, const char *near, const char *msg, va_list ap)
 {
-	generic_msg(msg, "Warning", near, ap);
+	generic_msg(msg, "Warning", ap);
 }
 
 static const struct wpp_callbacks default_callbacks =
-- 
1.7.2.2



More information about the wine-patches mailing list