diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-11-10 11:08:35 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-11-10 11:08:35 +0200 |
commit | 2f1214a79a6befb629466c3e81a993123733a2fe (patch) | |
tree | acf5e1cc9289cf4b655aa873d0b01642090b1391 /lib/stream.c | |
parent | 3457c19206858d3e8155dcfc776df8818d05824b (diff) | |
download | smap-2f1214a79a6befb629466c3e81a993123733a2fe.tar.gz smap-2f1214a79a6befb629466c3e81a993123733a2fe.tar.bz2 |
Placate cc warnings
Diffstat (limited to 'lib/stream.c')
-rw-r--r-- | lib/stream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stream.c b/lib/stream.c index d039c08..c217ca6 100644 --- a/lib/stream.c +++ b/lib/stream.c @@ -222,18 +222,18 @@ _stream_flush_buffer(struct _smap_stream *stream, int all) if (rc) return rc; _stream_advance_buffer(stream, size); } if (stream->level) { if (all) { - if (rc = _force_flush_buffer(stream)) + if ((rc = _force_flush_buffer(stream))) return rc; } else if (BUFFER_FULL_P(stream)) { if (stream->flags & SMAP_STREAM_EXPBUF) return _stream_realloc_buffer(stream, 0); - if (rc = _force_flush_buffer(stream)) + if ((rc = _force_flush_buffer(stream))) return rc; } } } } else if (all) _stream_advance_buffer(stream, stream->level); |