]> wimlib.net Git - wimlib/blobdiff - src/resource.c
Remove some unneeded includes
[wimlib] / src / resource.c
index 53283f2c3c5b3edf632331024910098e48b9bcf5..24526a8310370a443b7c838b43ae4805a8098c0d 100644 (file)
@@ -26,7 +26,6 @@
 #  include "config.h"
 #endif
 
-#include "wimlib.h"
 #include "wimlib/assert.h"
 #include "wimlib/endianness.h"
 #include "wimlib/error.h"
@@ -207,7 +206,7 @@ read_compressed_wim_resource(const struct wim_resource_spec * const rspec,
                rspec->wim->decompressor_ctype = WIMLIB_COMPRESSION_TYPE_NONE;
                rspec->wim->decompressor = NULL;
        } else {
-               ret = wimlib_create_decompressor(ctype, chunk_size, NULL,
+               ret = wimlib_create_decompressor(ctype, chunk_size,
                                                 &decompressor);
                if (ret) {
                        if (ret != WIMLIB_ERR_NOMEM)