Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Framework/Core/src/DeviceSpecHelpers.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1600,7 +1600,7 @@ void DeviceSpecHelpers::prepareArguments(bool defaultQuiet, bool defaultStopped,
// find the option belonging to key, add if the option has been parsed
// and is not defaulted
const auto* description = odesc.find_nothrow(varit.first, false);
if (description && varmap.count(varit.first)) {
if (description && varmap.count(varit.first) && !varit.second.defaulted()) {
// check the semantics of the value
auto semantic = description->semantic();
const char* optarg = "";
Expand Down