Skip to content

Commit

Permalink
Merge pull request #111 from pps83/master-warn
Browse files Browse the repository at this point in the history
Avoid potentially uninitialized local variable warning
  • Loading branch information
lemire committed Feb 13, 2024
2 parents 6a3ef21 + 9811f45 commit 6c303aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion headers/simdgroupsimple.h
Original file line number Diff line number Diff line change
Expand Up @@ -1292,7 +1292,7 @@ namespace FastPForLib {
// Step 2: Determine the next selector.
pos = 0;
uint8_t i;
uint8_t n;
uint8_t n = 0;
for (i = 0; i <= 9; i++) {
n = tableNum[i];
const uint32_t mask = tableMask[i];
Expand Down

0 comments on commit 6c303aa

Please sign in to comment.