forked from enlightenment/enlightenment
e: remove un-needed NULL check.
bdname = params, which is already checked CID 1039830, 1039831
This commit is contained in:
parent
d5853ddc2c
commit
5820112ba3
|
@ -829,7 +829,7 @@ ACT_FN_GO(window_border_cycle, __UNUSED__)
|
||||||
{
|
{
|
||||||
const char *bdname = params;
|
const char *bdname = params;
|
||||||
|
|
||||||
while (bdname && (space = strchr(bdname, ' ')))
|
while (space = strchr(bdname, ' '))
|
||||||
{
|
{
|
||||||
if (strncmp(bd->bordername, bdname, space - bdname) == 0)
|
if (strncmp(bd->bordername, bdname, space - bdname) == 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue