]> git.lyx.org Git - lyx.git/commit
Do not handle special case where buffer == NULL
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 9 Sep 2024 13:52:01 +0000 (15:52 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 9 Sep 2024 13:52:01 +0000 (15:52 +0200)
commit6687b34c072064950ff52efd79439fa4fc03604f
tree4994abedecec0731ff916b0b896dcfd62303faa7
parentffde470363c0bfafc915751fa788a34d4c9e06b8
Do not handle special case where buffer == NULL

If it is so, we have already crashed in isBranchSelected() above.

(and hopefully, buffer_ is never null these days).

Spotted by Coverity scan.
src/insets/InsetBranch.cpp