Rémi Bernon : wpp: Do not pass NULL %s to fprintf.

Alexandre Julliard julliard at winehq.org
Tue Feb 11 15:44:56 CST 2020


Module: wine
Branch: master
Commit: 7154c8676f1e26270addfb41f93c2fb1a47e2980
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=7154c8676f1e26270addfb41f93c2fb1a47e2980

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Tue Feb 11 15:49:12 2020 +0100

wpp: Do not pass NULL %s to fprintf.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 libs/wpp/ppl.l | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libs/wpp/ppl.l b/libs/wpp/ppl.l
index 4fd12c6b17..a68124355b 100644
--- a/libs/wpp/ppl.l
+++ b/libs/wpp/ppl.l
@@ -1620,8 +1620,8 @@ void pp_do_include(char *fname, int type)
 	pp_incl_state.ppp = NULL;
 
 	if(pp_status.debug)
-		fprintf(stderr, "pp_do_include: %s:%d: include_state=%d, include_ppp='%s', include_ifdepth=%d\n",
-                        pp_status.input, pp_status.line_number, pp_incl_state.state, pp_incl_state.ppp, pp_incl_state.ifdepth);
+		fprintf(stderr, "pp_do_include: %s:%d: include_state=%d, include_ifdepth=%d\n",
+                        pp_status.input, pp_status.line_number, pp_incl_state.state, pp_incl_state.ifdepth);
 	pp_status.file = fp;
 	ppy__switch_to_buffer(ppy__create_buffer(NULL, YY_BUF_SIZE));
 




More information about the wine-cvs mailing list