aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2019-08-04 11:54:33 +0100
committersin <sin@2f30.org>2019-08-04 11:54:33 +0100
commitc54f2b663b707fa5f5fa4c1a58bf606d9f132869 (patch)
treee1f41f6cfbc0b0fb9108c8e7ce5bdee5313b1d98
parente81a1c5362dc178e1c9006077f836d7ca5bfb577 (diff)
downloadnoice-c54f2b663b707fa5f5fa4c1a58bf606d9f132869.tar.gz
Style fix
-rw-r--r--nopen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nopen.c b/nopen.c
index da5769a..b4c9180 100644
--- a/nopen.c
+++ b/nopen.c
@@ -86,8 +86,7 @@ main(int argc, char *argv[])
for (; *argv != NULL; argv++) {
struct assoc *assoc;
- assoc = openwith(argv[0]);
- if (assoc == NULL)
+ if ((assoc = openwith(argv[0])) == NULL)
continue;
spawnassoc(assoc, argv[0]);
}
Un proyecto texto-plano.xyz