]> err.no Git - systemd/commitdiff
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 0927981ab284371460cbcb39e66ece82ba154568..072280a58e6242bc5679fdf85ae110b729710ce2 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",
        },
        {