diff options
author | James Prestwood <prestwoj@gmail.com> | 2024-03-05 05:28:05 -0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2024-03-11 22:12:07 -0500 |
commit | e0da55061968efa2492fe0678e7a96f723ae199e (patch) | |
tree | 9f7518606a452b4cfbccfac8d1490d79f3197e3d | |
parent | aecde787d3f6577d56a373bdf227f42a20502290 (diff) |
gvariant-util: remove unneeded initializer
'i' is initialized inside the for loop, so remove this extra
initialization prior.
-rw-r--r-- | ell/gvariant-util.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ell/gvariant-util.c b/ell/gvariant-util.c index 6a695d4c..6482e24c 100644 --- a/ell/gvariant-util.c +++ b/ell/gvariant-util.c @@ -843,7 +843,6 @@ static void container_append_struct_offsets(struct container *container, offset_size = offset_length(builder->body_pos, container->offset_index); - i = container->offset_index - 1; start = grow_body(builder, offset_size * container->offset_index, 1); |