diff src/dumper.c @ 5840:93a18dbcfd8c

Don't leave fields uninitialized.
author Marcus Crestani <marcus@crestani.de>
date Sat, 13 Dec 2014 14:20:17 +0100
parents d139eb1fead8
children e2fae7783046
line wrap: on
line diff
--- a/src/dumper.c	Sat Dec 13 14:09:33 2014 +0100
+++ b/src/dumper.c	Sat Dec 13 14:20:17 2014 +0100
@@ -850,6 +850,8 @@
 	  {
 	    pdump_cv_ptr_info info;
 	    info.object = *(void **)rdata;
+	    info.index = 0;
+	    info.save_offset = 0;
 	    info.fcts = desc1->data2.funcs;
 	    if (!pdump_find_in_cv_ptr_dynarr (info.object))
 	      {
@@ -863,6 +865,8 @@
 	    pdump_cv_data_info info;
 	    info.object = data;
 	    info.offset = offset;
+	    info.dest_offset = 0;
+	    info.save_offset = 0;
 	    info.fcts = desc1->data2.funcs;
 
 	    info.fcts->convert(rdata, &info.data, &info.size);