Test for ticket #5339 False pos: Redundant assignm

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>