1. 23 Apr, 2018 5 commits
    • Thomas Haller's avatar
      5d5b9d7c
    • Lubomir Rintel's avatar
      n-acd: don't use a return value in deallocator · de8bf742
      Lubomir Rintel authored
      ...so that its prototype is compatible with GDestroyNotify:
      
      src/devices/nm-acd-manager.c: In function ‘destroy_address_info’:
      /usr/include/glib-2.0/glib/gmem.h:120:31: error: cast between incompatible function types from ‘NAcd * (*)(NAcd *)’ {aka ‘struct NAcd * (*)(struct NAcd *)’} to ‘void (*)(void *)’ [-Werror=cast-function-type]
           GDestroyNotify _destroy = (GDestroyNotify) (destroy);                      \
                                     ^
      src/devices/nm-acd-manager.c:430:2: note: in expansion of macro ‘g_clear_pointer’
        g_clear_pointer (&info->acd, n_acd_free);
        ^~~~~~~~~~~~~~~
      
      The same change was done upstream, so the subsequent subtree pull of n-acd
      won't mess this up.
      de8bf742
    • Lubomir Rintel's avatar
      test-common: drop unused variables · c8989691
      Lubomir Rintel authored
      src/platform/tests/test-common.c:1500:17: error: unused variable 'dev' [-Werror,-Wunused-variable]
                      gs_free char *dev = NULL;
                                    ^
      src/platform/tests/test-common.c:1501:17: error: unused variable 'local' [-Werror,-Wunused-variable]
                      gs_free char *local = NULL, *remote = NULL;
                                    ^
      src/platform/tests/test-common.c:1501:32: error: unused variable 'remote' [-Werror,-Wunused-variable]
                      gs_free char *local = NULL, *remote = NULL;
                                                   ^
      Fixes: bd8ab54b
      c8989691
    • Lubomir Rintel's avatar
      auth-manager: drop an unused variable · 40ce80cb
      Lubomir Rintel authored
      src/nm-auth-manager.c:673:24: error: unused variable 'error_disposing' [-Werror,-Wunused-variable]
              gs_free_error GError *error_disposing = NULL;
                                    ^
      
      Fixes: 2ea2df31
      40ce80cb
    • Lubomir Rintel's avatar
      acd-manager: drop an unused variable · 30814288
      Lubomir Rintel authored
      src/devices/nm-acd-manager.c:299:16: error: unused variable 'timeout_str' [-Werror,-Wunused-variable]
              gs_free char *timeout_str = NULL;
                            ^
      Fixes: 9f79ae68
      30814288
  2. 21 Apr, 2018 3 commits
  3. 20 Apr, 2018 8 commits
  4. 19 Apr, 2018 24 commits