From d5997854e6464493f34190ffd7a71f861262e849 Mon Sep 17 00:00:00 2001 From: Levente Kurusa Date: Sun, 18 May 2014 11:52:29 +0200 Subject: [PATCH] qr: bitstream: fix build warning I forgot to add a 'return 0;' statement to the end of the append function. Add that now. Fixes: 821370f ("qr: bitstream: rewrite to use 8 times less memory") Signed-off-by: Levente Kurusa --- lib/qr/bitstream.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/qr/bitstream.c b/lib/qr/bitstream.c index 03a64e5..ba06b18 100644 --- a/lib/qr/bitstream.c +++ b/lib/qr/bitstream.c @@ -172,6 +172,8 @@ int BitStream_append(struct BitStream *dst, struct BitStream *src) if (rc) return rc; } + + return 0; } unsigned char *BitStream_toByte(struct BitStream *bstr) -- 1.8.3.1