This shall ensure we don't access doc before checking it against NULL. also it stops cppcheck from failing.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/535
-- Commit Summary --
* Add a additional checks for doc != NULL and removing such ones later to ensure
-- File Changes --
M lineoperations/src/lineoperations.c (14)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/535.patch https://github.com/geany/geany-plugins/pull/535.diff
S/A #517
b4n approved this pull request.
LGTM, but please see with the author and #517
Yes, this looks good. Go ahead a merge this, and I'll fix the other PR.
Merged #535.
github-comments@lists.geany.org