Bug 720804: Remove unused variables dolPt and fmt from nsTextFormatter.cpp. r=bsmedberg

This commit is contained in:
SADINENI RAVI CHANDRA 2012-09-10 23:52:52 -07:00
parent f783b8e441
commit af4b8a1a7b

View File

@ -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++;
}