diff options
author | sin <sin@2f30.org> | 2014-10-22 16:56:31 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-10-22 16:56:31 +0100 |
commit | 1183a9428fa3d9462fd2272c8963f43b073d3d87 (patch) | |
tree | 9503ee49176d5592c4d878bff1ea8040e58d6364 /noice.c | |
parent | b39da16920b46dec42a5c3059cfeb1a2612667ee (diff) | |
download | nnn-1183a9428fa3d9462fd2272c8963f43b073d3d87.tar.gz |
Save one level of indentation
Diffstat (limited to 'noice.c')
-rw-r--r-- | noice.c | 29 |
1 files changed, 14 insertions, 15 deletions
@@ -672,22 +672,21 @@ nochange: if (testopendir(tmp) == 0) { printwarn(); goto nochange; - } else { - free(path); - path = xrealpath(tmp); - free(tmp); - free(filter); - filter = xstrdup(ifilter); /* Reset filter */ - /* Forget history */ - while (!SLIST_EMPTY(&histhead)) { - hist = SLIST_FIRST(&histhead); - SLIST_REMOVE_HEAD(&histhead, entry); - free(hist); - } - DPRINTF_S(path); - cur = 0; - goto out; } + free(path); + path = xrealpath(tmp); + free(tmp); + free(filter); + filter = xstrdup(ifilter); /* Reset filter */ + /* Forget history */ + while (!SLIST_EMPTY(&histhead)) { + hist = SLIST_FIRST(&histhead); + SLIST_REMOVE_HEAD(&histhead, entry); + free(hist); + } + DPRINTF_S(path); + cur = 0; + goto out; } } |