diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-07 08:35:12 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-11 08:25:33 +0200 |
commit | 9d307abeec2a80e59af0f0af10dc42d90cd7441a (patch) | |
tree | ab939f6c7d0d65d0419fbe305bbc1501f1faceb8 /store | |
parent | 12fb9096f562281c7ca4b7fed6a3342dac9a91b7 (diff) |
new loplugin: defaultparams
find places where we do not need to be passing a parameter to a
function, because that function has a default value which matches the
value we are passing.
Change-Id: I04d1fd6275204dd4925e6563282464f461123632
Diffstat (limited to 'store')
-rw-r--r-- | store/source/storbios.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/store/source/storbios.cxx b/store/source/storbios.cxx index 3f9ec2d93052..9f494f1c1619 100644 --- a/store/source/storbios.cxx +++ b/store/source/storbios.cxx @@ -742,7 +742,7 @@ storeError OStorePageBIOS::acquirePage ( else { // Insert new entry. - Ace * entry = AceCache::get().create (rDescr.m_nAddr, 1); + Ace * entry = AceCache::get().create (rDescr.m_nAddr); if (!entry) return store_E_OutOfMemory; Ace::insert (ace, entry); |