summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-04-17 18:42:09 +0200
committerKay Sievers <kay@vrfy.org>2012-04-17 18:42:09 +0200
commit018ef268b1667ba0dbfc15804ab33deed6092147 (patch)
treec700a2aaab583ed1b90abb553c9bcffd142ca07e /src/udev
parent80a5cbace45a6adbf2f9119edc5a4b10db493064 (diff)
silence a bunch of gcc warnings
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udev-builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-builtin.c b/src/udev/udev-builtin.c
index b8cdc708bc..6509f5881d 100644
--- a/src/udev/udev-builtin.c
+++ b/src/udev/udev-builtin.c
@@ -42,7 +42,7 @@ static const struct udev_builtin *builtins[] = {
int udev_builtin_init(struct udev *udev)
{
unsigned int i;
- int err;
+ int err = 0;
for (i = 0; i < ELEMENTSOF(builtins); i++) {
if (builtins[i]->init) {