[lld] r276162 - Remove `else` after `break`.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 20 12:36:36 PDT 2016
Author: ruiu
Date: Wed Jul 20 14:36:36 2016
New Revision: 276162
URL: http://llvm.org/viewvc/llvm-project?rev=276162&view=rev
Log:
Remove `else` after `break`.
Modified:
lld/trunk/ELF/LinkerScript.cpp
Modified: lld/trunk/ELF/LinkerScript.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/LinkerScript.cpp?rev=276162&r1=276161&r2=276162&view=diff
==============================================================================
--- lld/trunk/ELF/LinkerScript.cpp (original)
+++ lld/trunk/ELF/LinkerScript.cpp Wed Jul 20 14:36:36 2016
@@ -777,8 +777,7 @@ std::vector<StringRef> ScriptParser::rea
setError("section header name is empty");
break;
}
- else
- Phdrs.push_back(Tok);
+ Phdrs.push_back(Tok);
}
return Phdrs;
}
More information about the llvm-commits
mailing list