diff options
author | Martin Thomson <martin.thomson@gmail.com> | 2018-02-14 18:46:10 +1100 |
---|---|---|
committer | Martin Thomson <martin.thomson@gmail.com> | 2018-02-14 18:46:10 +1100 |
commit | 61cc1fa706af88f1159f5089840b09e2b838d0f4 (patch) | |
tree | 0de9959927f7108c6d6a4c378c641dbf071b13aa /lib/certdb | |
parent | a63322e39baae7b4c7f1f343891315973006493e (diff) | |
download | nss-hg-61cc1fa706af88f1159f5089840b09e2b838d0f4.tar.gz |
Bug 1309068 - Enable -Wshadow, r=franziskus
Diffstat (limited to 'lib/certdb')
-rw-r--r-- | lib/certdb/crl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/certdb/crl.c b/lib/certdb/crl.c index d1c48dfba..63adcad46 100644 --- a/lib/certdb/crl.c +++ b/lib/certdb/crl.c @@ -898,13 +898,13 @@ static PLHashAllocOps preAllocOps = { PreAllocTable, PreFreeTable, /* destructor for PreAllocator object */ void -PreAllocator_Destroy(PreAllocator* PreAllocator) +PreAllocator_Destroy(PreAllocator* allocator) { - if (!PreAllocator) { + if (!allocator) { return; } - if (PreAllocator->arena) { - PORT_FreeArena(PreAllocator->arena, PR_TRUE); + if (allocator->arena) { + PORT_FreeArena(allocator->arena, PR_TRUE); } } |