Standardize `!ptr` i/o `ptr == NULL`, `ptr` i/o `ptr != NULL`
[babeltrace.git] / src / plugins / ctf / common / metadata / visitor-semantic-validator.c
index 17f63ac9887fde795ec280d0ebea1ce1cfbe12ba..8e732997cb53a62d45688339ed6325c6cdd42dd3 100644 (file)
@@ -358,7 +358,7 @@ int ctf_visitor_field_class_declarator(int depth, struct ctf_node *node,
                        }
                }
                if (node->u.field_class_declarator.type == TYPEDEC_ID &&
-                   node->u.field_class_declarator.u.id != NULL)
+                   node->u.field_class_declarator.u.id)
                        goto errperm;
                break;                  /* OK */
        case NODE_TYPEDEF:
This page took 0.0233 seconds and 4 git commands to generate.