Gerald Pfeifer : wpp: Remove variable dbgtext which is not really used frommake_number.

Alexandre Julliard julliard at winehq.org
Mon Apr 26 13:59:25 CDT 2010


Module: wine
Branch: master
Commit: b52eef95118dfcb23c3b435672f93eea5234075c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b52eef95118dfcb23c3b435672f93eea5234075c

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Sat Apr 24 12:13:33 2010 +0200

wpp: Remove variable dbgtext which is not really used frommake_number.

---

 libs/wpp/ppl.l |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/libs/wpp/ppl.l b/libs/wpp/ppl.l
index 06a4f18..6e0c7a1 100644
--- a/libs/wpp/ppl.l
+++ b/libs/wpp/ppl.l
@@ -961,7 +961,6 @@ static int make_number(int radix, YYSTYPE *val, const char *str, int len)
  */
 static void expand_special(pp_entry_t *ppp)
 {
-	const char *dbgtext = "?";
 	static char *buf = NULL;
 	char *new_buf;
 
@@ -969,7 +968,6 @@ static void expand_special(pp_entry_t *ppp)
 
 	if(!strcmp(ppp->ident, "__LINE__"))
 	{
-		dbgtext = "def_special(__LINE__)";
 		new_buf = pp_xrealloc(buf, 32);
 		if(!new_buf)
 			return;
@@ -978,7 +976,6 @@ static void expand_special(pp_entry_t *ppp)
 	}
 	else if(!strcmp(ppp->ident, "__FILE__"))
 	{
-		dbgtext = "def_special(__FILE__)";
 		new_buf = pp_xrealloc(buf, strlen(pp_status.input) + 3);
 		if(!new_buf)
 			return;




More information about the wine-cvs mailing list