[Compaction] Fix lint warnings.