From cbd31ea4e13a4e7479b2a19dc59efd9f2dd86e5e Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Wed, 25 Dec 2013 12:05:40 -0600 Subject: [PATCH] {de,}compress.c: Remove unneeded array initializers --- src/compress.c | 3 --- src/decompress.c | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/compress.c b/src/compress.c index 32d5fb49..a3c95b0f 100644 --- a/src/compress.c +++ b/src/compress.c @@ -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 diff --git a/src/decompress.c b/src/decompress.c index 4ea066f0..3bd51b18 100644 --- a/src/decompress.c +++ b/src/decompress.c @@ -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 -- 2.43.0