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:
28ba3f8
)
Fix warning about uninitialized variable
author
Michael Vogt
<mvo@debian.org>
Wed, 28 May 2014 08:00:52 +0000
(10:00 +0200)
committer
Michael Vogt
<mvo@debian.org>
Wed, 28 May 2014 08:00:52 +0000
(10:00 +0200)
Reported-By: clang++ -Werror
apt-pkg/deb/dpkgpm.cc
patch
|
blob
|
blame
|
history
diff --git
a/apt-pkg/deb/dpkgpm.cc
b/apt-pkg/deb/dpkgpm.cc
index
e410594
..
613a4de
100644
(file)
--- a/
apt-pkg/deb/dpkgpm.cc
+++ b/
apt-pkg/deb/dpkgpm.cc
@@
-1438,7
+1438,8
@@
bool pkgDPkgPM::GoNoABIBreak(APT::Progress::PackageManager *progress)
if (_config->FindB("DPkg::FlushSTDIN",true) == true && isatty(STDIN_FILENO))
{
- int Flags,dummy;
+ int Flags;
+ int dummy = 0;
if ((Flags = fcntl(STDIN_FILENO,F_GETFL,dummy)) < 0)
_exit(100);