HCoop
/
ntk
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f48c4d
)
Fix uninitialized value
author
Michael Vogt
<mvo@debian.org>
Wed, 28 May 2014 07:24:58 +0000
(09:24 +0200)
committer
Michael Vogt
<mvo@debian.org>
Wed, 28 May 2014 07:24:58 +0000
(09:24 +0200)
Reported-By: scan-build
test/libapt/cdrom_test.cc
patch
|
blob
|
blame
|
history
diff --git
a/test/libapt/cdrom_test.cc
b/test/libapt/cdrom_test.cc
index
626ef53
..
5cf3b35
100644
(file)
--- 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"