Core: clang warnings

git-svn-id: svn://ultimatepp.org/upp/trunk@13464 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2019-07-01 21:20:06 +00:00
parent c3761e284e
commit 375f006ee7

View file

@ -110,7 +110,7 @@ void AddModule(const LngEntry__* l, const char *name)
r.text = GetENUSc(l->text);
}
else
if(l->text && *l->text) {
if(l->text && *l->text && lr) {
LngRec& r = lr->Add();
r.lang = l->lang;
r.text = l->text;