-Werror=unused-but-set-variable

after
	commit 19c56b3befae3a23f42f981de5057de380b4c5a0
    loplugin:unusedfields in sw

Change-Id: I67314e86695a399fd211a64bdcf4cc3f18ca133d
diff --git a/sw/source/core/doc/swserv.cxx b/sw/source/core/doc/swserv.cxx
index f1c1338..2428babd 100644
--- a/sw/source/core/doc/swserv.cxx
+++ b/sw/source/core/doc/swserv.cxx
@@ -183,8 +183,6 @@ void SwServerObject::SendDataChanged( const SwPaM& rRange )
bool SwServerObject::IsLinkInServer( const SwBaseLink* pChkLnk ) const
{
    sal_uLong nSttNd = 0, nEndNd = 0;
    sal_Int32 nStt = 0;
    sal_Int32 nEnd = 0;
    const SwNode* pNd = nullptr;
    const SwNodes* pNds = nullptr;

@@ -197,9 +195,7 @@ bool SwServerObject::IsLinkInServer( const SwBaseLink* pChkLnk ) const
                            * pEnd = &CNTNT_TYPE.pBkmk->GetMarkEnd();

            nSttNd = pStt->nNode.GetIndex();
            nStt = pStt->nContent.GetIndex();
            nEndNd = pEnd->nNode.GetIndex();
            nEnd = pEnd->nContent.GetIndex();
            pNds = &pStt->nNode.GetNodes();
        }
        break;
@@ -215,8 +211,6 @@ bool SwServerObject::IsLinkInServer( const SwBaseLink* pChkLnk ) const
    {
        nSttNd = pNd->GetIndex();
        nEndNd = pNd->EndOfSectionIndex();
        nStt = 0;
        nEnd = -1;
        pNds = &pNd->GetNodes();
    }