summaryrefslogtreecommitdiff
path: root/src/udev/udev-builtin-firmware.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-04-13 15:08:55 +0200
committerKay Sievers <kay@vrfy.org>2012-04-13 15:10:12 +0200
commitb49d9b50cfd377f28de0886330ba7bbd231fb472 (patch)
tree19135b6b49048e05a884efa07454ee1728d094b4 /src/udev/udev-builtin-firmware.c
parent7ea07dcddafe573c699fc48171b57b912897e7e2 (diff)
udev: fix a few issues detected by the llvm static analyzer
Diffstat (limited to 'src/udev/udev-builtin-firmware.c')
-rw-r--r--src/udev/udev-builtin-firmware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-builtin-firmware.c b/src/udev/udev-builtin-firmware.c
index 0bc09e004f..146a57706f 100644
--- a/src/udev/udev-builtin-firmware.c
+++ b/src/udev/udev-builtin-firmware.c
@@ -84,7 +84,7 @@ static int builtin_firmware(struct udev_device *dev, int argc, char *argv[], boo
char datapath[UTIL_PATH_SIZE];
char fwpath[UTIL_PATH_SIZE];
const char *firmware;
- FILE *fwfile;
+ FILE *fwfile = NULL;
struct utsname kernel;
struct stat statbuf;
unsigned int i;