From 3d399a010102966158f6b69b07d636f113dc6ab4 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 13 Jul 2009 21:48:50 +0000 Subject: [PATCH] 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 --- lib/Lex/PPDirectives.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.50.1