X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fgraph_instance.c;h=0b71e15e1fdf897ba2a8e477533092c7ff3eebea;hb=d03bbb38c5177de7ad4da2934980ebd9d119f287;hp=cce72659d71ab9f5b12fed4f9b2c8b7838defeba;hpb=b988bcc13c655299bc3796cccaa583f62704e759;p=collection4.git diff --git a/src/graph_instance.c b/src/graph_instance.c index cce7265..0b71e15 100644 --- a/src/graph_instance.c +++ b/src/graph_instance.c @@ -445,8 +445,10 @@ int inst_compare_ident (graph_instance_t *inst, /* {{{ */ _Bool inst_ident_matches (graph_instance_t *inst, /* {{{ */ const graph_ident_t *ident) { +#if C4_DEBUG if ((inst == NULL) || (ident == NULL)) return (0); +#endif return (ident_matches (inst->select, ident)); } /* }}} _Bool inst_ident_matches */