[Github-comments] [geany/geany-plugins] debugger: eliminate llvm warning (#418)
Jiří Techet
notifications at xxxxx
Tue Mar 29 13:07:05 UTC 2016
on_key_pressed() is an existing callback function so the pointer is
always non-NULL:
vtree.c:164:14: warning: comparison of function 'on_key_pressed' not equal to a null pointer is
always true [-Wtautological-pointer-compare]
if (NULL != on_key_pressed)
~~~~ ^~~~~~~~~~~~~~
Remove the unnecessary check.
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/418
-- Commit Summary --
* debugger: eliminate llvm warning
-- File Changes --
M debugger/src/vtree.c (5)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/418.patch
https://github.com/geany/geany-plugins/pull/418.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/418
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160329/3cd882ab/attachment.html>
More information about the Github-comments
mailing list