- some commas at the end of enum declarations removed.
- some unused statements and variables removed
- some more careful typing of query expressions in index.c.
(Writing 'condition ? (ptrtype *)stuff : NULL' doesn't give the
overall expression type 'ptrtype *'; it's better to put the cast
outside the ?:.)