projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
258421c
)
Always properly initialize pool storage (bnc#846565)
author
Michael Andres
<ma@suse.de>
Fri, 25 Oct 2013 09:29:35 +0000
(11:29 +0200)
committer
Michael Andres
<ma@suse.de>
Fri, 25 Oct 2013 09:31:55 +0000
(11:31 +0200)
zypp/pool/PoolImpl.h
patch
|
blob
|
history
diff --git
a/zypp/pool/PoolImpl.h
b/zypp/pool/PoolImpl.h
index
e3d1365
..
6182024
100644
(file)
--- a/
zypp/pool/PoolImpl.h
+++ b/
zypp/pool/PoolImpl.h
@@
-373,10
+373,7
@@
namespace zypp
bool addedItems = false;
std::list<PoolItem> addedProducts;
- if ( pool.capacity() != _store.capacity() )
- {
- _store.resize( pool.capacity() );
- }
+ _store.resize( pool.capacity() );
if ( pool.capacity() )
{