]> wimlib.net Git - wimlib/commitdiff
{de,}compress.c: Remove unneeded array initializers
authorEric Biggers <ebiggers3@gmail.com>
Wed, 25 Dec 2013 18:05:40 +0000 (12:05 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Wed, 25 Dec 2013 18:05:40 +0000 (12:05 -0600)
src/compress.c
src/decompress.c

index 32d5fb49fc28b0885ef261dfeece9bc3231d82f5..a3c95b0f5d965fa07dec7b36e307eb9feb28d8ee 100644 (file)
@@ -45,9 +45,6 @@ static const struct compressor_ops *compressor_ops[] = {
 
 static struct wimlib_compressor_params_header *
 compressor_default_params[ARRAY_LEN(compressor_ops)] = {
-       [WIMLIB_COMPRESSION_TYPE_LZX]    = NULL,
-       [WIMLIB_COMPRESSION_TYPE_XPRESS] = NULL,
-       [WIMLIB_COMPRESSION_TYPE_LZMS]   = NULL,
 };
 
 static bool
index 4ea066f0d4a86a628c70941330554d8a5c745e3e..3bd51b183b5de90f1c20ea7a5630a03254e9533a 100644 (file)
@@ -45,9 +45,6 @@ static const struct decompressor_ops *decompressor_ops[] = {
 
 static struct wimlib_decompressor_params_header *
 decompressor_default_params[ARRAY_LEN(decompressor_ops)] = {
-       [WIMLIB_COMPRESSION_TYPE_LZX]    = NULL,
-       [WIMLIB_COMPRESSION_TYPE_XPRESS] = NULL,
-       [WIMLIB_COMPRESSION_TYPE_LZMS]   = NULL,
 };
 
 static bool