Cleaned up some code in compression.c