diff options
author | Michael Vogt <mvo@debian.org> | 2013-08-05 22:37:39 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-08-05 22:37:39 +0200 |
commit | dbcf60b2c314521ab809d50d228c0c98ce8f6915 (patch) | |
tree | 83ac6e7d6fd65c8986a5c667e55151daadf0bd9e /python/cache.cc | |
parent | e993aa1d28923deede2387d58d5fa123ad79d6c4 (diff) | |
download | python-apt-dbcf60b2c314521ab809d50d228c0c98ce8f6915.tar.gz |
coverity fixes
Diffstat (limited to 'python/cache.cc')
-rw-r--r-- | python/cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/cache.cc b/python/cache.cc index e527faba..01330adb 100644 --- a/python/cache.cc +++ b/python/cache.cc @@ -46,7 +46,7 @@ template<typename T> struct IterListStruct unsigned long LastIndex; IterListStruct(T const &I) : Iter(I), LastIndex(0) {} - IterListStruct() {}; + IterListStruct() : LastIndex(0) {}; bool move(unsigned long Index) { if (Index < 0 || (unsigned)Index >= Count()) |