aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex/PPDirectives.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-13 21:48:50 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-13 21:48:50 +0000
commit3d399a010102966158f6b69b07d636f113dc6ab4 (patch)
treeb8fad3836fdf0b2639e4b34521076d8e26256d6f /lib/Lex/PPDirectives.cpp
parent9deaeca2c9cd28a73914e190aa609faf0da510d8 (diff)
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
Diffstat (limited to 'lib/Lex/PPDirectives.cpp')
-rw-r--r--lib/Lex/PPDirectives.cpp2
1 files changed, 1 insertions, 1 deletions
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;