commit | b662cc1f52893f9797060193add61cd6d0a8b8a7 | [log] [tgz] |
---|---|---|
author | Gilles Peskine <Gilles.Peskine@arm.com> | Fri Nov 24 18:55:19 2017 +0100 |
committer | Gilles Peskine <Gilles.Peskine@arm.com> | Fri Nov 24 18:55:19 2017 +0100 |
tree | 9deeaa69fdd61b38e2b57850eeeeb107d493ae92 | |
parent | 3d98b9744272652609931b451bcde71ec0d1392a [diff] |
Avoid uninitialized variable warning in entropy_gather_internal The variable ret was always initialized in entropy_gather_internal, but `gcc -Werror=maybe-uninitialized` rightfully complained that it was unable to determine this statically. Therefore, tweak the problematic case (ctx->source_count == 0) to not use ret in that case.