Skip to content

Commit

Permalink
address a clang scan warning (II)
Browse files Browse the repository at this point in the history
  • Loading branch information
opcm authored and rdementi committed Dec 13, 2023
1 parent 7fdc77e commit 10f854c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -1445,6 +1445,10 @@ inline uint32 build_bit_ui(uint32 beg, uint32 end)
{
end = 31;
}
if (beg > 31)
{
return 0;
}
if (end == 31)
{
myll = (uint32)(-1);
Expand Down

0 comments on commit 10f854c

Please sign in to comment.