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 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany-plugins/pull/535
