Merge pull request #3732 from hzeller/20230417-remote-statement-no-effect

Remove a statement without effect.
This commit is contained in:
Jannis Harder 2023-04-18 10:45:14 +02:00 committed by GitHub
commit 88ae463ffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -190,8 +190,6 @@ RTLIL::Const ReadWitness::get_bits(int t, int bits_offset, int width) const
int read_begin = GetSize(bits) - 1 - bits_offset; int read_begin = GetSize(bits) - 1 - bits_offset;
int read_end = max(-1, read_begin - width); int read_end = max(-1, read_begin - width);
min(width, GetSize(bits) - bits_offset);
for (int i = read_begin, j = 0; i > read_end; i--, j++) { for (int i = read_begin, j = 0; i > read_end; i--, j++) {
RTLIL::State bit = State::Sa; RTLIL::State bit = State::Sa;
switch (bits[i]) { switch (bits[i]) {