aboutsummaryrefslogtreecommitdiff
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/udev-builtin.c
parentbuild-sys: silence gtk-doc check, remove gtk-doc options from configure and d... (diff)
downloadeudev-018ef268b1667ba0dbfc15804ab33deed6092147.tar.gz
eudev-018ef268b1667ba0dbfc15804ab33deed6092147.tar.bz2
eudev-018ef268b1667ba0dbfc15804ab33deed6092147.zip
silence a bunch of gcc warnings
Diffstat (limited to 'src/udev/udev-builtin.c')
-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 b8cdc708b..6509f5881 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) {