From af4b8a1a7b948c943cbe4d8265253c3544079d1f Mon Sep 17 00:00:00 2001 From: SADINENI RAVI CHANDRA Date: Mon, 10 Sep 2012 23:52:52 -0700 Subject: [PATCH] Bug 720804: Remove unused variables dolPt and fmt from nsTextFormatter.cpp. r=bsmedberg --- xpcom/glue/nsTextFormatter.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/xpcom/glue/nsTextFormatter.cpp b/xpcom/glue/nsTextFormatter.cpp index c201e612545f..ac33ba562074 100644 --- a/xpcom/glue/nsTextFormatter.cpp +++ b/xpcom/glue/nsTextFormatter.cpp @@ -819,7 +819,6 @@ static int dosprintf(SprintfState *ss, const PRUnichar *fmt, va_list ap) int *ip; } u; PRUnichar space = ' '; - const PRUnichar *fmt0; nsAutoString hex; hex.AssignLiteral("0123456789abcdef"); @@ -831,8 +830,6 @@ static int dosprintf(SprintfState *ss, const PRUnichar *fmt, va_list ap) int rv, i; struct NumArgState* nas = NULL; struct NumArgState nasArray[NAS_DEFAULT_NUM]; - /* in "%4$.2f" dolPt will point to . */ - const PRUnichar* dolPt = NULL; /* @@ -854,7 +851,6 @@ static int dosprintf(SprintfState *ss, const PRUnichar *fmt, va_list ap) } continue; } - fmt0 = fmt - 1; /* ** Gobble up the % format string. Hopefully we have handled all @@ -888,7 +884,6 @@ static int dosprintf(SprintfState *ss, const PRUnichar *fmt, va_list ap) } VARARGS_ASSIGN(ap, nas[i-1].ap); - dolPt = fmt; c = *fmt++; }