minor code cleanup
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70361 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/SemaChecking.cpp b/lib/Sema/SemaChecking.cpp
index 8e3a421..7d54dc0 100644
--- a/lib/Sema/SemaChecking.cpp
+++ b/lib/Sema/SemaChecking.cpp
@@ -629,10 +629,10 @@
}
// Str - The format string. NOTE: this is NOT null-terminated!
- const char * const Str = FExpr->getStrData();
+ const char *Str = FExpr->getStrData();
// CHECK: empty format string?
- const unsigned StrLen = FExpr->getByteLength();
+ unsigned StrLen = FExpr->getByteLength();
if (StrLen == 0) {
Diag(FExpr->getLocStart(), diag::warn_printf_empty_format_string)