removed dead code, make -Wall stop complaining