Browse Source

Fix uninitialized value

Reported-By: scan-build
debian/1.8.y
Michael Vogt 8 years ago
parent
commit
28ba3f8965
  1. 2
      test/libapt/cdrom_test.cc

2
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"

Loading…
Cancel
Save