Handle struct with no fields in ScanSlice.
Cleanup vet and lint warnings.