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

Reply via email to