Fix '+=' accumulation error when parsing numeric amounts in a format string.

llvm-svn: 99479
diff --git a/clang/lib/Analysis/PrintfFormatString.cpp b/clang/lib/Analysis/PrintfFormatString.cpp
index 46acc8a..c38aae3 100644
--- a/clang/lib/Analysis/PrintfFormatString.cpp
+++ b/clang/lib/Analysis/PrintfFormatString.cpp
@@ -75,7 +75,7 @@
     char c = *I;
     if (c >= '0' && c <= '9') {
       hasDigits = true;
-      accumulator += (accumulator * 10) + (c - '0');
+      accumulator = (accumulator * 10) + (c - '0');
       continue;
     }