Skip to content

Commit 750dc53

Browse files
Remove unused variable reported by Sonar
1 parent 69ea73d commit 750dc53

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)