diff options
author | David Sommerseth <davids@redhat.com> | 2010-01-07 16:49:08 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2010-01-07 16:49:08 +0100 |
commit | 0769e2e4d553d974af17f41159a010d6959044fc (patch) | |
tree | 085aad053828c4520b0f5b2ffc79c29e74bb8533 | |
parent | b0de4453c466339c7751bf8595a965b19da579e2 (diff) | |
download | python-dmidecode-0769e2e4d553d974af17f41159a010d6959044fc.tar.gz python-dmidecode-0769e2e4d553d974af17f41159a010d6959044fc.tar.xz python-dmidecode-0769e2e4d553d974af17f41159a010d6959044fc.zip |
Make sure const char *filename is not a wild pointer
-rw-r--r-- | src/efi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -45,7 +45,7 @@ int address_from_efi(size_t * address) { FILE *efi_systab; - const char *filename; + const char *filename = NULL; char linebuf[64]; int ret; |