mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Remove unreachable return statements
They were needed long ago to avoid gcc warnings, but now all they do is create coverity warnings.
This commit is contained in:
parent
5a62e37add
commit
ce0c11ba4e
@ -2117,9 +2117,6 @@ bool InsetMathHull::getStatus(Cursor & cur, FuncRequest const & cmd,
|
||||
default:
|
||||
return InsetMathGrid::getStatus(cur, cmd, status);
|
||||
}
|
||||
|
||||
// This cannot really happen, but inserted to shut-up gcc
|
||||
return InsetMathGrid::getStatus(cur, cmd, status);
|
||||
}
|
||||
|
||||
|
||||
|
@ -651,9 +651,6 @@ get_system_support_dir(FileName const & abs_binary,
|
||||
"to the LyX system directory containing the "
|
||||
"file `chkconfig.ltx'."),
|
||||
from_utf8(searched_dirs_str), from_ascii(LYX_DIR_VER)));
|
||||
|
||||
// Keep the compiler happy.
|
||||
return FileName();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user