Browse Source

remove duplicated `pr = 0`

avoid warning:
Variable 'pr' is reassigned a value before the old one has been used
caused by:

    fw = pr = fl = 0;
    ...
    pr = 0;
Marcin Wojdyr 7 years ago
parent
commit
3a969eb64c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      stb_sprintf.h

+ 1 - 1
stb_sprintf.h

@@ -1259,7 +1259,7 @@ STBSP__PUBLICDEF int STB_SPRINTF_DECORATE(vsprintfcb)(STBSP_SPRINTFCB *callback,
          s = num + STBSP__NUMSZ - 1;
          *s = f[0];
          l = 1;
-         fw = pr = fl = 0;
+         fw = fl = 0;
          lead[0] = 0;
          tail[0] = 0;
          pr = 0;