chiark / gitweb /
remove stray initializer
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Fri, 16 Jan 2009 20:35:34 +0000 (20:35 +0000)
committerKay Sievers <kay.sievers@vrfy.org>
Fri, 16 Jan 2009 20:33:33 +0000 (21:33 +0100)
Picked up by "gcc -Wextra".

udevadm.c:83: warning: initialized field overwritten
udevadm.c:83: warning: (near initialization for ‘cmds[2].help’)

This is just a cleanup.  It doesn't change the code generated by gcc.

udev/udevadm.c

index 0927981..072280a 100644 (file)
@@ -79,7 +79,7 @@ static const struct command cmds[] = {
        },
        {
                .name = "settle",
-               .cmd = udevadm_settle, "",
+               .cmd = udevadm_settle,
                .help = "wait for the event queue to finish",
        },
        {