Merge pull request #179 from frodeaa/tautological-pointer-compare

Removal of dead code due to tautological-pointer-compare.
This commit is contained in:
dvorka 2015-12-29 18:42:07 +01:00
commit a02ed95c49

View file

@ -1087,7 +1087,7 @@ void loop_to_select(Hstr *hstr)
favorites_choose(hstr->favorites,result);
}
} else {
result=(pattern==NULL?"":pattern);
result=pattern;
}
done=TRUE;
break;
@ -1100,7 +1100,7 @@ void loop_to_select(Hstr *hstr)
favorites_choose(hstr->favorites,result);
}
} else {
result=(pattern==NULL?"":pattern);
result=pattern;
}
done=TRUE;
break;