cw.c: remove some redundant assignments.