cid#1545320 Unused value
Change-Id: I772a5d7608b92634b7cfed1c1e1730eab34bee89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160421 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
parent
0e942c11e0
commit
49d88e99a2
1 changed files with 2 additions and 4 deletions
|
@ -205,7 +205,6 @@ static void ImplMakeConfigList( ImplConfigData* pData,
|
|||
sal_uInt64 i;
|
||||
const sal_uInt8* pLine;
|
||||
ImplKeyData* pPrevKey = nullptr;
|
||||
ImplKeyData* pKey;
|
||||
ImplGroupData* pPrevGroup = nullptr;
|
||||
ImplGroupData* pGroup = nullptr;
|
||||
i = 0;
|
||||
|
@ -250,7 +249,6 @@ static void ImplMakeConfigList( ImplConfigData* pData,
|
|||
pData->mpFirstGroup = pGroup;
|
||||
pPrevGroup = pGroup;
|
||||
pPrevKey = nullptr;
|
||||
pKey = nullptr;
|
||||
|
||||
// filter group names
|
||||
pLine++;
|
||||
|
@ -292,7 +290,7 @@ static void ImplMakeConfigList( ImplConfigData* pData,
|
|||
{
|
||||
while ( pGroup->mnEmptyLines )
|
||||
{
|
||||
pKey = new ImplKeyData;
|
||||
ImplKeyData* pKey = new ImplKeyData;
|
||||
pKey->mbIsComment = true;
|
||||
pPrevKey->mpNext = pKey;
|
||||
pPrevKey = pKey;
|
||||
|
@ -301,7 +299,7 @@ static void ImplMakeConfigList( ImplConfigData* pData,
|
|||
}
|
||||
|
||||
// Generate new key
|
||||
pKey = new ImplKeyData;
|
||||
ImplKeyData* pKey = new ImplKeyData;
|
||||
pKey->mpNext = nullptr;
|
||||
if ( pPrevKey )
|
||||
pPrevKey->mpNext = pKey;
|
||||
|
|
Loading…
Reference in a new issue