Avoid assigning unused value
Change-Id: Ic6c59500805a8710150f083ff089b2e1c4c36530 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177217 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
This commit is contained in:
parent
737c4e624f
commit
f4253af367
1 changed files with 2 additions and 2 deletions
|
@ -241,8 +241,8 @@ bool LoadDictionary(HDInfo& rDict)
|
|||
#else
|
||||
OString sTmp(OU2ENC(dictpath, osl_getThreadTextEncoding()));
|
||||
#endif
|
||||
HyphenDict *dict = nullptr;
|
||||
if ((dict = hnj_hyphen_load(sTmp.getStr())) == nullptr)
|
||||
HyphenDict* dict = hnj_hyphen_load(sTmp.getStr());
|
||||
if (!dict)
|
||||
{
|
||||
SAL_WARN(
|
||||
"lingucomponent",
|
||||
|
|
Loading…
Reference in a new issue