[cfe-commits] r75517 - /cfe/trunk/lib/Lex/PPDirectives.cpp

Daniel Dunbar daniel at zuster.org
Mon Jul 13 14:48:50 PDT 2009


Author: ddunbar
Date: Mon Jul 13 16:48:50 2009
New Revision: 75517

URL: http://llvm.org/viewvc/llvm-project?rev=75517&view=rev
Log:
There is no need to value initialize this array.

Modified:
    cfe/trunk/lib/Lex/PPDirectives.cpp

Modified: cfe/trunk/lib/Lex/PPDirectives.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PPDirectives.cpp?rev=75517&r1=75516&r2=75517&view=diff

==============================================================================
--- cfe/trunk/lib/Lex/PPDirectives.cpp (original)
+++ cfe/trunk/lib/Lex/PPDirectives.cpp Mon Jul 13 16:48:50 2009
@@ -588,7 +588,7 @@
   // 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;





More information about the cfe-commits mailing list