bug #4081, remove syntax warnings