spv: Avoid some compiler warnings on mingw.
[pspp] / src / output / spv / spv-legacy-data.c
index 703d0b1e1e20dd1b4bdd0203b6ad0bac31020fe5..4e3d72c4a4c1832af4a66d6de64497407d6db1d2 100644 (file)
@@ -360,7 +360,7 @@ spv_legacy_data_decode (const uint8_t *in, size_t size, struct spv_data *out)
       source->n_values = md->n_values;
       source->vars = xcalloc (md->n_variables, sizeof *source->vars);
 
-      size_t end;
+      size_t end = -1;
       error = decode_data (in, size, md->data_offset, source, &end);
       if (error)
         goto error;