]> granicus.if.org Git - clang/commitdiff
There is no need to value initialize this array.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 13 Jul 2009 21:48:50 +0000 (21:48 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 13 Jul 2009 21:48:50 +0000 (21:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75517 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Lex/PPDirectives.cpp

index af59ded27544845f996bbac95837f4652ed06931..1b6eb150f89c73e9e33e8eb9b4fbefa33e1997d0 100644 (file)
@@ -588,7 +588,7 @@ TryAgain:
   // various pseudo-ops.  Just return the # token and push back the following
   // token to be lexed next time.
   if (getLangOptions().AsmPreprocessor) {
-    Token *Toks = new Token[2]();
+    Token *Toks = new Token[2];
     // Return the # and the token after it.
     Toks[0] = SavedHash; 
     Toks[1] = Result;