]> granicus.if.org Git - vim/commit
patch 8.1.0886: compiler warning for NULL pointer and condition always true v8.1.0886
authorBram Moolenaar <Bram@vim.org>
Sun, 10 Feb 2019 20:48:25 +0000 (21:48 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 10 Feb 2019 20:48:25 +0000 (21:48 +0100)
commitb7633611611eeb5f14f8fd598afa687964e23f23
treefa9dff5fb75eb6d62d3c3fc9cd9a0c0d05c3b83d
parent18c5632cab09e5e51320f55005f310920648f35b
patch 8.1.0886: compiler warning for NULL pointer and condition always true

Problem:    Compiler warning for adding to NULL pointer and a condition that
            is always true.
Solution:   Check for NULL pointer before adding. Remove useless "if".
            (Friedirch, closes #3913)
src/dosinst.c
src/search.c
src/version.c