protobuf_c_message_unpack(): Remove a shadowed variable

Here 'j' is used as a loop index and there's no need to re-declare it
inside this block.

Found with -Wshadow.
This commit is contained in:
Robert Edmonds 2017-02-25 18:18:49 -05:00
parent 6eb0b271ae
commit c5c236b42e

View File

@ -3213,7 +3213,6 @@ protobuf_c_message_unpack(const ProtobufCMessageDescriptor *desc,
unsigned max = (i_slab == which_slab) ?
in_slab_index : (1UL << (i_slab + 4));
ScannedMember *slab = scanned_member_slabs[i_slab];
unsigned j;
for (j = 0; j < max; j++) {
if (!parse_member(slab + j, rv, allocator)) {