Commit ae7abb2d authored by Graham, Aaron's avatar Graham, Aaron
Browse files

Address review comment

parent 99ea42fe
Pipeline #164023 passed with stage
in 2 minutes and 5 seconds
......@@ -7124,11 +7124,7 @@ FUNCTION has_attribute(this,obj_name,attr_name) RESULT(hasAttribute)
RETURN
ENDIF
CALL open_attribute(this,obj_id,attr_name,attr_id,error)
IF(error == 0) THEN
hasAttribute=.TRUE.
ELSE
hasAttribute=.FALSE.
ENDIF
hasAttribute = (error == 0)
IF(hasAttribute) THEN
CALL close_attribute(this,attr_id)
......
Markdown is supported
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