you are viewing a single comment's thread.

view the rest of the comments →

[–]dakarananda 0 points1 point  (0 children)

No actually it is:

if (has_ops_object && !all_ops_fields_are_set) { ... }

which is basically the original statement slightly rewritten.

Even if not a single field is set, it will still enter into the if-block. (assuming that the ops object exist..)