mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Style fix
This commit is contained in:
parent
0e214e23b7
commit
1c467fce7a
2
noice.c
2
noice.c
|
@ -516,7 +516,7 @@ forgethist(void)
|
||||||
{
|
{
|
||||||
struct history *hist;
|
struct history *hist;
|
||||||
|
|
||||||
while (!SLIST_EMPTY(&histhead)) {
|
while (SLIST_EMPTY(&histhead) == 0) {
|
||||||
hist = SLIST_FIRST(&histhead);
|
hist = SLIST_FIRST(&histhead);
|
||||||
SLIST_REMOVE_HEAD(&histhead, entry);
|
SLIST_REMOVE_HEAD(&histhead, entry);
|
||||||
free(hist);
|
free(hist);
|
||||||
|
|
Loading…
Reference in a new issue