fixed errors when going from gcc 4.4 to gcc 4.7
(extra warnings about initialized but unused variables)