Skip to content
Snippets Groups Projects
Commit 197565f6 authored by Franjo's avatar Franjo
Browse files

Cleanup of duplicates

parent 278ebae5
Branches maintenance
Tags
No related merge requests found
......@@ -349,18 +349,14 @@ int main(int argc, char *argv[])
patchIds
);
}
if (args.options().found("patchIds"))
{
IStringStream is(args.options()["patchIds"]);
patchIds = labelList(is);
}
if (args.options().found("patchIds"))
{
IStringStream is(args.options()["patchIds"]);
patchIds.append(labelList(is));
}
if (args.options().found("patchIdRange"))
{
IStringStream is(args.options()["patchIdRange"]);
......@@ -372,6 +368,7 @@ int main(int argc, char *argv[])
patchIds.append(id);
}
}
if (!patchIds.size())
{
FatalError() << "No patches specified"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment