cw.c: remove two redundant calls to memset.