tevent: Fix might be unitialized warning
[metze/samba/wip.git] / lib / tevent / tevent.c
index a9e18c349d7a55052e93d2d58138cec8cc396d8e..867cfc08feff88c3532a98f76c94d1f5b8fb0e47 100644 (file)
@@ -457,7 +457,7 @@ int _tevent_loop_until(struct tevent_context *ev,
                       void *private_data,
                       const char *location)
 {
-       int ret;
+       int ret = 0;
        void *nesting_stack_ptr = NULL;
 
        ev->nesting.level++;