summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2014-10-12 18:18:51 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2014-10-12 18:18:51 +0100
commit8fa0a4d42bcf892375dafa2d8e4cc7f532a41145 (patch)
tree68d69789a0e6e2f2c0f9f4479e3c147a225db883 /src
parent8bc732e8b03ebb4309f4b42626917148d176db49 (diff)
Quieten noisy compiler
As usual, gcc whining that perfectly valid C coding is "ambiguous". Wrongly.
Diffstat (limited to 'src')
-rw-r--r--src/src/deliver.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/src/deliver.c b/src/src/deliver.c
index 2ee69d37e..881c97733 100644
--- a/src/src/deliver.c
+++ b/src/src/deliver.c
@@ -2988,16 +2988,15 @@ while (!done)
to get all available data from pipe. unfinished has to be true
as well. */
if (remaining < required)
+ {
if (unfinished)
continue;
- else
- {
- msg = string_sprintf("failed to read pipe from transport process "
- "%d for transport %s: required size=%d > remaining size=%d and unfinished=false",
- pid, addr->transport->driver_name, required, remaining);
- done = TRUE;
- break;
- }
+ msg = string_sprintf("failed to read pipe from transport process "
+ "%d for transport %s: required size=%d > remaining size=%d and unfinished=false",
+ pid, addr->transport->driver_name, required, remaining);
+ done = TRUE;
+ break;
+ }
/* step behind the header */
ptr += PIPE_HEADER_SIZE;