Skip to content

Commit 4a53599

Browse files
authored
Merge pull request #65 from oracle/Issue#62-remove-unused-local-variable
Remove unused variable reported by Sonar
2 parents d27673c + 750dc53 commit 4a53599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/python/discover.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ def __check_and_customize_model(model, model_context):
373373
validator = Validator(model_context, wlst_mode=__wlst_mode)
374374

375375
# no variables are generated by the discover tool
376-
return_code = validator.validate_in_tool_mode(model.get_model(), variables_file_name=None,
376+
validator.validate_in_tool_mode(model.get_model(), variables_file_name=None,
377377
archive_file_name=model_context.get_archive_file_name())
378378
except ValidateException, ex:
379379
__logger.warning('WLSDPLY-06015', ex.getLocalizedMessage(), class_name=_class_name, method_name=_method_name)

0 commit comments

Comments
 (0)