Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKir Kolyshkin <kir@openvz.org>2016-12-17 14:21:58 +0300
committerAndrei Vagin <avagin@virtuozzo.com>2017-03-15 00:09:54 +0300
commita49d44d2b34ccb694134a4f4abe9ec995aa15f95 (patch)
treec7f46c5f61c8d986580eab5e865344184f4593e2 /compel/src
parent4b86502585f11d94a1162b0329fc7cb691ccf5f3 (diff)
compel/src/main.c: rm useless init
1 Since all the fields are now initialized to zeroes, we can just say ={}; 2 Since this is static, it is initialized to zeroes anyway, but from my POV being explicit about it is better. travis-ci: success for More polishing for compel cli Signed-off-by: Kir Kolyshkin <kir@openvz.org> Acked-by: Cyrill Gorcunov <gorcunov@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
Diffstat (limited to 'compel/src')
-rw-r--r--compel/src/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/compel/src/main.c b/compel/src/main.c
index b4afff9e1..4202b1210 100644
--- a/compel/src/main.c
+++ b/compel/src/main.c
@@ -51,11 +51,7 @@ static const compel_cflags_t compel_cflags[] = {
},
};
-piegen_opt_t opts = {
- .input_filename = NULL,
- .output_filename = NULL,
- .fout = NULL,
-};
+piegen_opt_t opts = {};
static int piegen(void)
{