mirror of
https://github.com/dvorka/hstr.git
synced 2024-12-28 18:50:54 +08:00
Merge pull request #179 from frodeaa/tautological-pointer-compare
Removal of dead code due to tautological-pointer-compare.
This commit is contained in:
commit
a02ed95c49
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue