projects
/
collection4.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Various: Remove argument validation after profiling.
[collection4.git]
/
src
/
graph_instance.c
diff --git
a/src/graph_instance.c
b/src/graph_instance.c
index
cce7265
..
0b71e15
100644
(file)
--- 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 */