mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Zap accumlated warnings in non-assert builds
Swift SVN r12850
This commit is contained in:
@@ -256,6 +256,7 @@ Job *MergeModule::constructJob(const JobAction &JA,
|
||||
Arguments.push_back(Args.MakeArgString(Output->getPrimaryOutputFilename()));
|
||||
|
||||
size_t origLen = Arguments.size();
|
||||
(void)origLen;
|
||||
addInputsOfType(Arguments, Inputs.get(), types::TY_SwiftModuleFile);
|
||||
assert(Arguments.size() - origLen == Inputs->size() &&
|
||||
"every input to MergeModule must generate a swiftmodule");
|
||||
|
||||
Reference in New Issue
Block a user