event/dsw: fix gcc 4.8 false positive warning