]> granicus.if.org Git - icinga2/commitdiff
Fix another compiler warning
authorJean Flach <jean-marcel.flach@netways.de>
Mon, 18 Jan 2016 08:41:52 +0000 (09:41 +0100)
committerGunnar Beutner <gunnar@beutner.name>
Tue, 23 Feb 2016 09:54:34 +0000 (10:54 +0100)
fixes #10956

lib/remote/base64.cpp

index 74ed583809719a288b2e6a8cac7633e63a1196f7..7dd10cd39da34553e4de807a90ed605376865113 100644 (file)
@@ -32,7 +32,7 @@ String Base64::Encode(const String& input)
        BIO_push(bio64, biomem);
        BIO_set_flags(bio64, BIO_FLAGS_BASE64_NO_NL);
        BIO_write(bio64, input.CStr(), input.GetLength());
-       BIO_flush(bio64);
+       (void) BIO_flush(bio64);
 
        char *outbuf;
        long len = BIO_get_mem_data(biomem, &outbuf);