HCoop
/
ntk
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cppcheck complains about some possible speed improvements which could be
[ntk/apt.git]
/
apt-pkg
/
acquire-method.cc
diff --git
a/apt-pkg/acquire-method.cc
b/apt-pkg/acquire-method.cc
index
79a7519
..
7e9061e
100644
(file)
--- a/
apt-pkg/acquire-method.cc
+++ b/
apt-pkg/acquire-method.cc
@@
-81,7
+81,7
@@
void pkgAcqMethod::Fail(bool Transient)
void pkgAcqMethod::Fail(string Err,bool Transient)
{
// Strip out junk from the error messages
- for (string::iterator I = Err.begin(); I != Err.end();
I++
)
+ for (string::iterator I = Err.begin(); I != Err.end();
++I
)
{
if (*I == '\r')
*I = ' ';