remove unused assignments

This commit is contained in:
Yukihiro Matsumoto
2012-05-17 12:57:08 +09:00
parent cc4b2c5c6a
commit b68e69aa32
5 changed files with 36 additions and 60 deletions
+3 -5
View File
@@ -28,10 +28,9 @@ static void fmt_setup(char*,size_t,int,int,int,int);
static char*
remove_sign_bits(char *str, int base)
{
char *s, *t;
s = t = str;
char *t;
t = str;
if (base == 16) {
while (*t == 'f') {
t++;
@@ -780,7 +779,7 @@ format_s:
char sc = 0;
long v = 0, org_v = 0;
int base;
int len, pos;
int len;
switch (*p) {
case 'd':
@@ -901,7 +900,6 @@ bin_retry:
}
len = (int)strlen(s);
pos = -1;
if (dots) {
prec -= 2;
width -= 2;