Source
624
624
old_serial_sect_count = udata->fspace->serial_sect_count;
625
625
old_ghost_sect_count = udata->fspace->ghost_sect_count;
626
626
old_tot_space = udata->fspace->tot_space;
627
627
udata->fspace->tot_sect_count = 0;
628
628
udata->fspace->serial_sect_count = 0;
629
629
udata->fspace->ghost_sect_count = 0;
630
630
udata->fspace->tot_space = 0;
631
631
632
632
/* Walk through the buffer, deserializing sections */
633
633
do {
634
-
hsize_t sect_size; /* Current section size */
635
-
size_t node_count; /* # of sections of this size */
634
+
hsize_t sect_size = 0; /* Current section size */
635
+
size_t node_count = 0; /* # of sections of this size */
636
636
size_t u; /* Local index variable */
637
637
638
638
/* The number of sections of this node's size */
639
639
UINT64DECODE_VAR(p, node_count, sect_cnt_size);
640
640
HDassert(node_count);
641
641
642
642
/* The size of the sections for this node */
643
643
UINT64DECODE_VAR(p, sect_size, sinfo->sect_len_size);
644
644
HDassert(sect_size);
645
645
646
646
/* Loop over nodes of this size */
647
647
for(u = 0; u < node_count; u++) {
648
648
H5FS_section_info_t *new_sect; /* Section that was deserialized */
649
-
haddr_t sect_addr; /* Address of free space section in the address space */
649
+
haddr_t sect_addr = 0; /* Address of free space section in the address space */
650
650
unsigned sect_type; /* Type of free space section */
651
651
unsigned des_flags; /* Flags from deserialize callback */
652
652
653
653
/* The address of the section */
654
654
UINT64DECODE_VAR(p, sect_addr, sinfo->sect_off_size);
655
655
656
656
/* The type of this section */
657
657
sect_type = *p++;
658
658
659
659
/* Call 'deserialize' callback for this section */