Fix bug 666: unused-local-typedefs warning

--HG--
branch : 3.1