correct some style/performance/warnings from cppcheck
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 16 Jan 2014 21:19:49 +0000 (22:19 +0100)
committerDavid Kalnischkies <david@kalnischkies.de>
Thu, 16 Jan 2014 21:19:49 +0000 (22:19 +0100)
commit9ce3cfc9309c55cc01018c88c1ca82779fd74431
treee113a963a732f497d0362d3fff9e5b3834d5a175
parent62d8a765b9b37354efab6ca838cbdb7f347f7cac
correct some style/performance/warnings from cppcheck

The most "visible" change is from utime to utimensat/futimens
as the first one isn't part of POSIX anymore.

Reported-By: cppcheck
Git-Dch: Ignore
22 files changed:
apt-inst/dirstream.cc
apt-pkg/contrib/fileutl.cc
apt-pkg/contrib/gpgv.cc
apt-pkg/contrib/hashes.cc
apt-pkg/contrib/hashsum.cc
apt-pkg/deb/dpkgpm.cc
apt-pkg/install-progress.cc
apt-private/private-list.cc
apt-private/private-search.cc
ftparchive/multicompress.cc
methods/connect.cc
methods/copy.cc
methods/ftp.cc
methods/gzip.cc
methods/http.cc
methods/https.cc
methods/https.h
methods/mirror.cc
methods/rsh.cc
methods/server.cc
methods/server.h
test/interactive-helper/rpmver.cc