diff --git a/src/protocols/rdp/bitmap.c b/src/protocols/rdp/bitmap.c index 61621f2e..db293162 100644 --- a/src/protocols/rdp/bitmap.c +++ b/src/protocols/rdp/bitmap.c @@ -31,7 +31,7 @@ #include #include -BOOL guac_rdp_cache_bitmap(rdpContext* context, rdpBitmap* bitmap) { +void guac_rdp_cache_bitmap(rdpContext* context, rdpBitmap* bitmap) { guac_client* client = ((rdp_freerdp_context*) context)->client; guac_rdp_client* rdp_client = (guac_rdp_client*) client->data; @@ -59,8 +59,6 @@ BOOL guac_rdp_cache_bitmap(rdpContext* context, rdpBitmap* bitmap) { /* Store buffer reference in bitmap */ ((guac_rdp_bitmap*) bitmap)->layer = buffer; - return TRUE; - } BOOL guac_rdp_bitmap_new(rdpContext* context, rdpBitmap* bitmap) { diff --git a/src/protocols/rdp/bitmap.h b/src/protocols/rdp/bitmap.h index ef3e5476..297230c5 100644 --- a/src/protocols/rdp/bitmap.h +++ b/src/protocols/rdp/bitmap.h @@ -61,11 +61,8 @@ typedef struct guac_rdp_bitmap { * * @param bitmap * The bitmap to cache. - * - * @return - * TRUE if successful, FALSE otherwise. */ -BOOL guac_rdp_cache_bitmap(rdpContext* context, rdpBitmap* bitmap); +void guac_rdp_cache_bitmap(rdpContext* context, rdpBitmap* bitmap); /** * Initializes the given newly-created rdpBitmap.