mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
[nctree] eliminate tautological pointer compare
This commit is contained in:
parent
46d70602c5
commit
3474134f23
@ -123,9 +123,6 @@ nctree_inner_create(ncplane* n, const struct nctree_options* opts){
|
||||
}
|
||||
|
||||
nctree* nctree_create(ncplane* n, const struct nctree_options* opts){
|
||||
if(n == NULL){
|
||||
return NULL;
|
||||
}
|
||||
notcurses* nc = ncplane_notcurses(n);
|
||||
if(opts->flags){
|
||||
logwarn(nc, "Passed invalid flags 0x%016jx\n", (uint64_t)opts->flags);
|
||||
|
Loading…
x
Reference in New Issue
Block a user