Skip to content

Commit

Permalink
mips: wrong -Werror=maybe-uninitialized warnings
Browse files Browse the repository at this point in the history
with gcc-12-mips-linux-gnu 12.3.0-17ubuntu1cross3
  • Loading branch information
rurban committed Sep 28, 2024
1 parent adce77a commit 11d957f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/decode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ bfr_read_32 (void *restrict dst, BITCODE_RC *restrict *restrict src,
size_t size)
{
size_t n;
uint32_t *dp, *sp, *dp0, *sp0;
uint32_t *dp, *sp, *dp0 = NULL, *sp0 = NULL;
bool dst_unaligned = false;
bool src_unaligned = false;
assert (!(size % 4));
Expand Down Expand Up @@ -1090,7 +1090,7 @@ bfr_read_64 (void *restrict dst, BITCODE_RC *restrict *restrict src,
size_t size)
{
size_t n;
uint64_t *dp, *sp, *dp0, *sp0;
uint64_t *dp, *sp, *dp0 = NULL, *sp0 = NULL;
bool dst_unaligned = false;
bool src_unaligned = false;
assert (!(size % 8));
Expand Down

0 comments on commit 11d957f

Please sign in to comment.