From 375f006ee77d0aaf07dc230bedfbd16d579ad8d8 Mon Sep 17 00:00:00 2001 From: cxl Date: Mon, 1 Jul 2019 21:20:06 +0000 Subject: [PATCH] Core: clang warnings git-svn-id: svn://ultimatepp.org/upp/trunk@13464 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/t.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Core/t.cpp b/uppsrc/Core/t.cpp index c8f26d030..25c066d0b 100644 --- a/uppsrc/Core/t.cpp +++ b/uppsrc/Core/t.cpp @@ -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;