summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-08-01 12:36:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-08-01 16:37:35 +0200
commit90950c63fa24f98fa18306610e18f2080b8f0029 (patch)
treee4761905750894caf356148452cf165b1592d8a1 /sal
parent805609a5a3845fdd67d375be850484340593e567 (diff)
Dead assignment
Change-Id: Ia9459d29ebe823a8e08eed0a7418e89b05ed360b Reviewed-on: https://gerrit.libreoffice.org/58412 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/alloc_cache.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/alloc_cache.cxx b/sal/rtl/alloc_cache.cxx
index b4d7a0060d39..d1eaf44cd142 100644
--- a/sal/rtl/alloc_cache.cxx
+++ b/sal/rtl/alloc_cache.cxx
@@ -68,7 +68,7 @@ rtl_cache_type * rtl_cache_activate(
}
assert(RTL_MEMORY_ISP2(objalign));
- cache->m_type_size = objsize = RTL_MEMORY_P2ROUNDUP(objsize, objalign);
+ cache->m_type_size = RTL_MEMORY_P2ROUNDUP(objsize, objalign);
cache->m_constructor = constructor;
cache->m_destructor = destructor;