diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-11-14 11:14:07 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-14 12:02:50 +0000 |
commit | 71c00f4b5797299b1e0b4f1fa23f18b2b68c89b2 (patch) | |
tree | 4a4cd0f3266534ba00e61ca01cd0277c6aaa5bd9 | |
parent | bbf3aa7f92c194c9cc4546c95706e6b28e0c070c (diff) |
coverity#982314 Logically dead code
Change-Id: Iba420f0726864cb093e17fc9f4ce5bd7a33f7721
-rw-r--r-- | tools/source/generic/config.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/source/generic/config.cxx b/tools/source/generic/config.cxx index fdc73360d3dc..2454ddde6e3e 100644 --- a/tools/source/generic/config.cxx +++ b/tools/source/generic/config.cxx @@ -285,10 +285,7 @@ static void ImplMakeConfigList( ImplConfigData* pData, pGroup->mpNext = NULL; pGroup->mpFirstKey = NULL; pGroup->mnEmptyLines = 0; - if ( pPrevGroup ) - pPrevGroup->mpNext = pGroup; - else - pData->mpFirstGroup = pGroup; + pData->mpFirstGroup = pGroup; pPrevGroup = pGroup; pPrevKey = NULL; } |