Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional checks for doc != NULL and removing such ones later #535

Merged

Conversation

frlan
Copy link
Member

@frlan frlan commented Feb 20, 2017

This shall ensure we don't access doc before checking it against NULL. also it stops cppcheck from failing.

…to ensure

there is no access of doc before it has been checked against NULL.
@frlan frlan changed the title Add a additional checks for doc != NULL and removing such ones later Add additional checks for doc != NULL and removing such ones later Feb 20, 2017
@b4n
Copy link
Member

b4n commented Feb 20, 2017

S/A #517

Copy link
Member

@b4n b4n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but please see with the author and #517

@smostertdev
Copy link
Contributor

Yes, this looks good. Go ahead a merge this, and I'll fix the other PR.

@frlan frlan merged commit 62daca4 into geany:master Feb 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants