MINOR: vars: Set variable type to ANY upon creation

The type of a newly created variable was not initialized. This patch
sets it to SMP_T_ANY by default. This will be required when conditions
can be added to a set-var call because we might end up creating a
variable without setting it yet.
diff --git a/src/vars.c b/src/vars.c
index 4c5f88b..27fc23d 100644
--- a/src/vars.c
+++ b/src/vars.c
@@ -364,6 +364,7 @@
 		LIST_APPEND(&vars->head, &var->l);
 		var->name_hash = name_hash;
 		var->flags = flags & VF_PERMANENT;
+		var->data.type = SMP_T_ANY;
 	}
 
 	/* Set type. */