]> git.sur5r.net Git - i3/i3/commit
Remove redundant NULL check
authorAlan Barr <a.barr@outlook.com>
Thu, 11 Oct 2018 22:28:30 +0000 (23:28 +0100)
committerAlan Barr <a.barr@outlook.com>
Sat, 13 Oct 2018 16:41:50 +0000 (17:41 +0100)
commit88c378154a95eb0c77abd187c6c7f0cac01fe481
tree5477d52b7c414a060105c1c372c7062fdd703c51
parentdfe89cc4f1706a6fae0ae3816787d0fb22dadd7d
Remove redundant NULL check

copy has been used before this point - so it is too late to be concerned
about a NULL pointer now.

This is OK as sstrdup() calls err() on NULL return from the underlying
strdup() call.

Raised by cppcheck.
libi3/mkdirp.c