diff --git a/src/graph_ident.c b/src/graph_ident.c
index d1b1b056af763c414a9f8b3e5f8f5b73215084b5..7dda849e0794bb01f9e19c3d75a58529126a9e80 100644 (file)
--- a/src/graph_ident.c
+++ b/src/graph_ident.c
static _Bool part_matches (const char *selector, /* {{{ */
const char *part)
{
+#if C4_DEBUG
if ((selector == NULL) && (part == NULL))
return (1);
+#endif
if (selector == NULL) /* && (part != NULL) */
return (0);
_Bool ident_matches (const graph_ident_t *selector, /* {{{ */
const graph_ident_t *ident)
{
+#if C4_DEBUG
if ((selector == NULL) || (ident == NULL))
return (0);
+#endif
if (!part_matches (selector->host, ident->host))
return (0);