summaryrefslogtreecommitdiffstats
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
commit48b4d1e27eb1b5b6454f24b4ef249baa45385ae8 (patch)
tree8f894258a3611f79990005105bb0c9986956b006
parenta479bf1afae3d0a8f36a09e59b427926ff8a475b (diff)
downloadbcm5719-llvm-48b4d1e27eb1b5b6454f24b4ef249baa45385ae8.tar.gz
bcm5719-llvm-48b4d1e27eb1b5b6454f24b4ef249baa45385ae8.zip
There is no need to value initialize this array.
llvm-svn: 75517
-rw-r--r--clang/lib/Lex/PPDirectives.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/PPDirectives.cpp b/clang/lib/Lex/PPDirectives.cpp
index af59ded2754..1b6eb150f89 100644
--- a/clang/lib/Lex/PPDirectives.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud