[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 05/10] ui/dbus: fix clang compilation issue
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 05/10] ui/dbus: fix clang compilation issue |
Date: |
Tue, 1 Aug 2023 23:54:16 +0200 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
../ui/dbus-listener.c:236:9: error: expected expression
Error *err = NULL;
See:
https://gitlab.com/qemu-project/qemu/-/issues/1782#note_1488517427
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230726151221.515761-1-marcandre.lureau@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
ui/dbus-listener.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/ui/dbus-listener.c b/ui/dbus-listener.c
index 02fc6ae239..30917271ab 100644
--- a/ui/dbus-listener.c
+++ b/ui/dbus-listener.c
@@ -232,7 +232,7 @@ static void dbus_call_update_gl(DisplayChangeListener *dcl,
egl_fb_read_rect(ddl->ds, &ddl->fb, x, y, w, h);
dbus_gfx_update(dcl, x, y, w, h);
break;
- case SHARE_KIND_D3DTEX:
+ case SHARE_KIND_D3DTEX: {
Error *err = NULL;
assert(ddl->d3d_texture);
@@ -249,6 +249,7 @@ static void dbus_call_update_gl(DisplayChangeListener *dcl,
dbus_update_gl_cb,
g_object_ref(ddl));
break;
+ }
default:
g_warn_if_reached();
}
--
2.38.1
- [PULL 00/10] Misc fixes for 2023-08-01, Philippe Mathieu-Daudé, 2023/08/01
- [PULL 01/10] hw/xen: fix off-by-one in xen_evtchn_set_gsi(), Philippe Mathieu-Daudé, 2023/08/01
- [PULL 02/10] i386/xen: consistent locking around Xen singleshot timers, Philippe Mathieu-Daudé, 2023/08/01
- [PULL 03/10] hw/xen: prevent guest from binding loopback event channel to itself, Philippe Mathieu-Daudé, 2023/08/01
- [PULL 04/10] ui/dbus: fix win32 compilation when !opengl, Philippe Mathieu-Daudé, 2023/08/01
- [PULL 05/10] ui/dbus: fix clang compilation issue,
Philippe Mathieu-Daudé <=
- [PULL 06/10] misc: Fix some typos in documentation and comments, Philippe Mathieu-Daudé, 2023/08/01
- [PULL 07/10] tests/migration: Add -fno-stack-protector, Philippe Mathieu-Daudé, 2023/08/01
- [PULL 08/10] target/nios2: Pass semihosting arg to exit, Philippe Mathieu-Daudé, 2023/08/01
- [PULL 09/10] target/nios2: Fix semihost lseek offset computation, Philippe Mathieu-Daudé, 2023/08/01
- [PULL 10/10] target/m68k: Fix semihost lseek offset computation, Philippe Mathieu-Daudé, 2023/08/01
- Re: [PULL 00/10] Misc fixes for 2023-08-01, Richard Henderson, 2023/08/02