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

cppcheck finding #49

Open
chipitsine opened this issue Jun 18, 2016 · 1 comment
Open

cppcheck finding #49

chipitsine opened this issue Jun 18, 2016 · 1 comment

Comments

@chipitsine
Copy link

[src/ngx_postgres_escape.c:50] -> [src/ngx_postgres_escape.c:55]: (warning) Either the condition 'v==0' is redundant or there is possible null pointer dereference: v.
[src/ngx_postgres_escape.c:56] -> [src/ngx_postgres_escape.c:55]: (warning) Either the condition 'v==0' is redundant or there is possible null pointer dereference: v.
[src/ngx_postgres_escape.c:57] -> [src/ngx_postgres_escape.c:55]: (warning) Either the condition 'v==0' is redundant or there is possible null pointer dereference: v.

@agentzh
Copy link
Contributor

agentzh commented Jun 21, 2016

@chipitsine Thanks for the report. These indeed look sloppy and can be made better.

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

No branches or pull requests

2 participants