aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/upas/marshal/marshal.c
diff options
context:
space:
mode:
authorDavid du Colombier <0intro@gmail.com>2014-05-15 06:28:54 +0200
committerDavid du Colombier <0intro@gmail.com>2014-05-15 06:28:54 +0200
commitbae34df843174dd2dfcbb3e584ea8f963f0c1d32 (patch)
tree903abd62592e1010c8a13b54f3e8a58692fef259 /src/cmd/upas/marshal/marshal.c
parent954e03ccfe21a06da9d581c04e92bf87feec192e (diff)
downloadplan9port-bae34df843174dd2dfcbb3e584ea8f963f0c1d32.tar.gz
plan9port-bae34df843174dd2dfcbb3e584ea8f963f0c1d32.tar.bz2
plan9port-bae34df843174dd2dfcbb3e584ea8f963f0c1d32.zip
upas: fix warnings
smtp.c:232: warning: comparison with string literal results in unspecified behavior smtp.c:244: warning: comparison with string literal results in unspecified behavior marshal.c:1179: warning: variable ‘err’ set but not used LGTM=rsc R=rsc https://codereview.appspot.com/93290043
Diffstat (limited to 'src/cmd/upas/marshal/marshal.c')
-rw-r--r--src/cmd/upas/marshal/marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/upas/marshal/marshal.c b/src/cmd/upas/marshal/marshal.c
index 7cef1828..8ebd3957 100644
--- a/src/cmd/upas/marshal/marshal.c
+++ b/src/cmd/upas/marshal/marshal.c
@@ -1183,7 +1183,7 @@ waitforsubprocs(void)
err = w->msg;
if(pid >= 0 && (w=procwait(pid)) && w->msg[0])
err = w->msg;
- return nil;
+ return err;
}
int