* [PATCH] remove stray initializer
@ 2009-01-16 20:35 Alan Jenkins
2009-01-16 20:35 ` Kay Sievers
0 siblings, 1 reply; 2+ messages in thread
From: Alan Jenkins @ 2009-01-16 20:35 UTC (permalink / raw)
To: linux-hotplug
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.
diff --git a/udev/udevadm.c b/udev/udevadm.c
index 0927981..072280a 100644
--- a/udev/udevadm.c
+++ b/udev/udevadm.c
@@ -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",
},
{
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] remove stray initializer
2009-01-16 20:35 [PATCH] remove stray initializer Alan Jenkins
@ 2009-01-16 20:35 ` Kay Sievers
0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2009-01-16 20:35 UTC (permalink / raw)
To: linux-hotplug
On Fri, Jan 16, 2009 at 21:35, Alan Jenkins <alan-jenkins@tuffmail.co.uk> wrote:
> Picked up by "gcc -Wextra".
>
> udevadm.c:83: warning: initialized field overwritten
> udevadm.c:83: warning: (near initialization for 'cmds[2].help')
Applied.
Thanks,
Kay
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-16 20:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-16 20:35 [PATCH] remove stray initializer Alan Jenkins
2009-01-16 20:35 ` Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).