From 3a969eb64c46326490f7307b834c71b601204b99 Mon Sep 17 00:00:00 2001 From: Marcin Wojdyr Date: Thu, 7 Dec 2017 15:30:43 +0000 Subject: [PATCH] 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; --- stb_sprintf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stb_sprintf.h b/stb_sprintf.h index 3828445..5d87b1a 100644 --- a/stb_sprintf.h +++ b/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;