qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Unused variables in dbus_call_update_gl


From: BALATON Zoltan
Subject: Unused variables in dbus_call_update_gl
Date: Thu, 29 Jun 2023 14:53:19 +0200 (CEST)

Hello,

After recent commits I'm now getting:

../ui/dbus-listener.c: In function ‘dbus_call_update_gl’:
../ui/dbus-listener.c:210:26: error: unused variable ‘ddl’ 
[-Werror=unused-variable]
  210 |     DBusDisplayListener *ddl = container_of(dcl, DBusDisplayListener, 
dcl);
      |                          ^~~
At top level:
../ui/dbus-listener.c:180:13: error: ‘dbus_update_gl_cb’ defined but not used 
[-Werror=unused-function]
  180 | static void dbus_update_gl_cb(GObject *source_object,
      |             ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

when compiling on Linux with gcc.

Regards,
BALATON Zoltan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]