summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-07 17:57:59 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-07 17:59:38 +0200
commit12a2a78cd1860ab5fea21889275a46c2456f00db (patch)
tree40e5fafd134a91e5ba866ca98c2f746ef386821b
parent1ff5ecda9ccfcf3e65e90c404db93fcbbefb889e (diff)
clang-analyzer-deadcode.DeadStores
...ever since its inception with fccfef4812b07a56e2ea0b7dabe27bfa6ec78ea6 "INTEGRATION: CWS impresshydra" Change-Id: I098b4434bfb1ed2c10f1476c21f1427fe2292b60
-rw-r--r--vcl/unx/generic/window/salframe.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/unx/generic/window/salframe.cxx b/vcl/unx/generic/window/salframe.cxx
index 7efa8719da8a..2693580071a9 100644
--- a/vcl/unx/generic/window/salframe.cxx
+++ b/vcl/unx/generic/window/salframe.cxx
@@ -2559,7 +2559,6 @@ void X11SalFrame::createNewWindow( ::Window aNewParent, SalX11Screen nXScreen )
aParentData.bXEmbedSupport = (aNewParent != None && m_bXEmbed); // caution: this is guesswork
if( aNewParent == None )
{
- aNewParent = GetDisplay()->GetRootWindow(nXScreen);
aParentData.aWindow = None;
m_bXEmbed = false;
}