summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/irmd/reg/name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irmd/reg/name.c b/src/irmd/reg/name.c
index 4d26c762..cd245674 100644
--- a/src/irmd/reg/name.c
+++ b/src/irmd/reg/name.c
@@ -417,7 +417,7 @@ int reg_name_leave_state(struct reg_name * name,
{
struct timespec ts;
struct timespec * abstime = NULL;
- int ret;
+ int ret = 0;
assert(name);
assert(state != NAME_DESTROY);