[APInt] Combine declaration and initialization. NFC
llvm-svn: 299325
diff --git a/llvm/lib/Support/APInt.cpp b/llvm/lib/Support/APInt.cpp
index 22a393c..f0b6d8f 100644
--- a/llvm/lib/Support/APInt.cpp
+++ b/llvm/lib/Support/APInt.cpp
@@ -2489,9 +2489,7 @@
assert(c <= 1);
for (unsigned i = 0; i < parts; i++) {
- integerPart l;
-
- l = dst[i];
+ integerPart l = dst[i];
if (c) {
dst[i] += rhs[i] + 1;
c = (dst[i] <= l);
@@ -2511,9 +2509,7 @@
assert(c <= 1);
for (unsigned i = 0; i < parts; i++) {
- integerPart l;
-
- l = dst[i];
+ integerPart l = dst[i];
if (c) {
dst[i] -= rhs[i] + 1;
c = (dst[i] >= l);