chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e5e6415
)
remove stray initializer
author
Alan Jenkins
<alan-jenkins@tuffmail.co.uk>
Fri, 16 Jan 2009 20:35:34 +0000
(20:35 +0000)
committer
Kay 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
patch
|
blob
|
history
diff --git
a/udev/udevadm.c
b/udev/udevadm.c
index 0927981ab284371460cbcb39e66ece82ba154568..072280a58e6242bc5679fdf85ae110b729710ce2 100644
(file)
--- 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",
},
{