mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
error is always true at this point
Coverity issue 23294.
This commit is contained in:
parent
eba0bbe503
commit
e5cae37853
@ -802,7 +802,7 @@ TextClass::ReturnValues TextClass::read(Lexer & lexrc, ReadType rt)
|
||||
return ERROR;
|
||||
|
||||
if (rt != BASECLASS)
|
||||
return (error ? ERROR : OK);
|
||||
return OK;
|
||||
|
||||
if (defaultlayout_.empty()) {
|
||||
LYXERR0("Error: Textclass '" << name_
|
||||
|
Loading…
Reference in New Issue
Block a user