aboutsummaryrefslogtreecommitdiffstats
path: root/src/mds-kbdc/callables.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-12-07 15:53:05 +0100
committerMattias Andrée <maandree@operamail.com>2014-12-07 15:53:05 +0100
commit66502051a113944aa3e659697b5d905d269adabb (patch)
tree07d3ef0cedc4cdef17fa358dd92bdbafc684f214 /src/mds-kbdc/callables.c
parentwhitespace (diff)
downloadmds-66502051a113944aa3e659697b5d905d269adabb.tar.gz
mds-66502051a113944aa3e659697b5d905d269adabb.tar.bz2
mds-66502051a113944aa3e659697b5d905d269adabb.tar.xz
fail_if supports sequences without being double bracketed
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/mds-kbdc/callables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mds-kbdc/callables.c b/src/mds-kbdc/callables.c
index 4a87fd2..5dbc19d 100644
--- a/src/mds-kbdc/callables.c
+++ b/src/mds-kbdc/callables.c
@@ -112,7 +112,7 @@ int callables_set(const char* restrict name, size_t arg_count, mds_kbdc_tree_t*
mds_kbdc_include_stack_t** new_callable_include_stack_list = NULL;
int saved_errno;
- fail_if ((dupname = strdup(name), dupname == NULL));
+ fail_if (dupname = strdup(name), dupname == NULL);
if (arg_count >= buckets)
{