Skip to content

Commit

Permalink
Fix compiler warning.
Browse files Browse the repository at this point in the history
Now that we don't use the old conversion string we can get ride of the
caps variable.
  • Loading branch information
Marco van Wieringen committed May 5, 2013
1 parent cdcf8a4 commit 968099d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/lib/bsnprintf.c
Expand Up @@ -652,7 +652,6 @@ static int32_t fmtfp(char *buffer, int32_t currlen, int32_t maxlen,
int fplace = 0;
int padlen = 0; /* amount to pad */
int zpadlen = 0;
int caps = 0;
int64_t intpart;
int64_t fracpart;
const char *cvt_str;
Expand All @@ -673,11 +672,6 @@ static int32_t fmtfp(char *buffer, int32_t currlen, int32_t maxlen,
else if (flags & DP_F_SPACE)
signvalue = ' ';

#if 0
if (flags & DP_F_UP)
caps = 1; /* Should characters be upper case? */
#endif

#ifndef HAVE_FCVT
intpart = (int64_t)ufvalue;

Expand Down

0 comments on commit 968099d

Please sign in to comment.