Skip to content
  • Bastien Nocera's avatar
    pairing-dialog: Fix uninitialised variable · e0797509
    Bastien Nocera authored
    lib/bluetooth-pairing-dialog.c: In function ‘bluetooth_pairing_dialog_set_mode’:
    include/glib-2.0/glib/gmacros.h:928:7: warning: ‘help’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      928 |    if (expr)                                    \
          |       ^
    lib/bluetooth-pairing-dialog.c:69:8: note: ‘help’ was declared here
       69 |  char *help;
          |        ^~~~
    e0797509