From: Karel Zak Date: Fri, 5 Jun 2020 07:18:08 +0000 (+0200) Subject: blkzone: remove unnecessary initializations X-Git-Tag: v2.36-rc1~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=43d2ce3b443d06abef21a6a612560f57c5989ea3;p=thirdparty%2Futil-linux.git blkzone: remove unnecessary initializations C compiler is smart enough to follow C standards C11: 6.7.8 Initialization All subobjects that are not initialized explicitly shall be initialized implicitly the same as objects that have static storage duration. Signed-off-by: Karel Zak --- diff --git a/sys-utils/blkzone.c b/sys-utils/blkzone.c index c983448319..11e90fb0ef 100644 --- a/sys-utils/blkzone.c +++ b/sys-utils/blkzone.c @@ -379,10 +379,7 @@ int main(int argc, char **argv) { int c; struct blkzone_control ctl = { - .devname = NULL, - .offset = 0, - .count = 0, - .length = 0 + .devname = NULL }; static const struct option longopts[] = {