From 28ba3f89659afe95fee4175d802febf895dc15a4 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Wed, 28 May 2014 09:24:58 +0200 Subject: Fix uninitialized value Reported-By: scan-build --- test/libapt/cdrom_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/libapt') diff --git a/test/libapt/cdrom_test.cc b/test/libapt/cdrom_test.cc index 626ef538e..5cf3b353c 100644 --- a/test/libapt/cdrom_test.cc +++ b/test/libapt/cdrom_test.cc @@ -91,7 +91,7 @@ TEST(CDROMTest,ReduceSourcelist) } TEST(CDROMTest, FindMountPointForDevice) { - char * tempfile; + char * tempfile = NULL; FileFd fd; createTemporaryFile("mountpoints", fd, &tempfile, "rootfs / rootfs rw 0 0\n" -- cgit v1.2.3