You should be coding defensively, so there should be an `else` doing a `LOGWARNING` and `return`, just in case if someone later decides to reuse this handler for something else or whatever, however unlikely this is. It also lets the compiler know that `SlotNum` really is a valid number afterwards, so some optimizing compilers may use that.