Skip to content

Commit

Permalink
Remove some unreachable code in bitset_new.h (#743)
Browse files Browse the repository at this point in the history
Warning[Pe111]: statement is unreachable
  • Loading branch information
dhebbeker authored Aug 15, 2023
1 parent 5c3d659 commit 9985539
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/etl/private/bitset_new.h
Original file line number Diff line number Diff line change
Expand Up @@ -1318,8 +1318,6 @@ namespace etl

const element_type mask = element_type(element_type(1) << position);
return (buffer & mask) != 0U;

return false;
}

//*************************************************************************
Expand Down Expand Up @@ -3032,8 +3030,6 @@ namespace etl

const element_type mask = element_type(element_type(1) << position);
return (*pbuffer & mask) != 0U;

return false;
}

//*************************************************************************
Expand Down

0 comments on commit 9985539

Please sign in to comment.