diff options
author | David Robillard <d@drobilla.net> | 2020-12-31 12:37:57 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-31 12:37:57 +0100 |
commit | 8a93d0b3be5b6d80a1bef85bc73b2661f5ab4376 (patch) | |
tree | c65c3327fde67505a8f989e57cb245ee0f286cb9 /src/byte_sink.h | |
parent | 19d8a055ff1e58a699e3679b701a1a60a2927243 (diff) | |
download | serd-8a93d0b3be5b6d80a1bef85bc73b2661f5ab4376.tar.gz serd-8a93d0b3be5b6d80a1bef85bc73b2661f5ab4376.tar.bz2 serd-8a93d0b3be5b6d80a1bef85bc73b2661f5ab4376.zip |
Avoid "else" after "break" and "return"
Diffstat (limited to 'src/byte_sink.h')
-rw-r--r-- | src/byte_sink.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/byte_sink.h b/src/byte_sink.h index c3d5045a..71d525ce 100644 --- a/src/byte_sink.h +++ b/src/byte_sink.h @@ -70,7 +70,9 @@ serd_byte_sink_write(const void* buf, size_t len, SerdByteSink* bsink) { if (len == 0) { return 0; - } else if (bsink->block_size == 1) { + } + + if (bsink->block_size == 1) { return bsink->sink(buf, len, bsink->stream); } |