From b3159ed8d2dbe4af584d05298448e6de62d394d6 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 30 Mar 2021 20:52:56 -0600 Subject: [PATCH] [util] Silence compiler warning --- util/helper-cairo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/helper-cairo.cc b/util/helper-cairo.cc index 73c1c21b0..deb9f0d2c 100644 --- a/util/helper-cairo.cc +++ b/util/helper-cairo.cc @@ -263,7 +263,7 @@ static void finalize_png (finalize_closure_t *closure) { cairo_status_t status; - GByteArray *bytes; + GByteArray *bytes = nullptr; GString *string; gchar *base64; size_t base64_len;