summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lib/ubus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ubus.c b/lib/ubus.c
index a2eb57e..299b112 100644
--- a/lib/ubus.c
+++ b/lib/ubus.c
@@ -70,7 +70,7 @@ _arg_type(uc_type_t type)
static bool
_args_get(uc_vm_t *vm, bool named, size_t nargs, ...)
{
- uc_value_t **ptr, *arg, *obj;
+ uc_value_t **ptr, *arg, *obj = NULL;
uc_type_t type, t;
const char *name;
size_t index = 0;