From: Daniel Dunbar Date: Mon, 13 Jul 2009 21:48:50 +0000 (+0000) Subject: There is no need to value initialize this array. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3d399a010102966158f6b69b07d636f113dc6ab4;p=clang There is no need to value initialize this array. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@75517 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Lex/PPDirectives.cpp b/lib/Lex/PPDirectives.cpp index af59ded275..1b6eb150f8 100644 --- a/lib/Lex/PPDirectives.cpp +++ b/lib/Lex/PPDirectives.cpp @@ -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;