fix warning in no-assert mode.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65024 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AST/Builtins.cpp b/lib/AST/Builtins.cpp
index e4a79e4..b572e8e 100644
--- a/lib/AST/Builtins.cpp
+++ b/lib/AST/Builtins.cpp
@@ -71,9 +71,7 @@
   assert(*Printf == ':' && "p or P specifier must have be followed by a ':'");
   ++Printf;
 
-  const char *PrintfEnd = strchr(Printf, ':');
-  assert(PrintfEnd && "printf specifier must end with a ':'");
-
+  assert(strchr(Printf, ':') && "printf specifier must end with a ':'");
   FormatIdx = strtol(Printf, 0, 10);
   return true;
 }