While poking in remote.c I noticed some unused local variables, and (with gcc's help) found 28 of them in 16 functions. Not a huge priority, but should actually make the code easier to understand...