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 <kzak@redhat.com>
This commit is contained in:
parent
6e103c7690
commit
43d2ce3b44
|
@ -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[] = {
|
||||
|
|
Loading…
Reference in New Issue