summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/LinkerScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp
index 980d27e61f3..d7e460fa156 100644
--- a/lld/ELF/LinkerScript.cpp
+++ b/lld/ELF/LinkerScript.cpp
@@ -129,7 +129,7 @@ LinkerScript<ELFT>::getInputSections(const InputSectionDescription *I) {
Ret.push_back(S);
}
- if ((llvm::find(Patterns, "COMMON") != Patterns.end()))
+ if (llvm::find(Patterns, "COMMON") != Patterns.end())
Ret.push_back(CommonInputSection<ELFT>::X);
return Ret;
OpenPOWER on IntegriCloud