This smell occurs when a redundant assignment is made in a switch statement: for example, assigning a value to a variable in a case block without a following break instruction, then re-assigning another value to the same variable in the subsequent case block.
All rights reserved (c) Tushar Sharma 2017-23.