diff --git a/src/libnm-glib-aux/nm-shared-utils.h b/src/libnm-glib-aux/nm-shared-utils.h index ab183d9ac..c59a40e47 100644 --- a/src/libnm-glib-aux/nm-shared-utils.h +++ b/src/libnm-glib-aux/nm-shared-utils.h @@ -2252,16 +2252,16 @@ nm_g_array_unref(GArray *arr) /* Similar to g_array_index(). The differences are * - this does nm_assert() checks that the arguments are valid. * - returns a pointer to the element. */ -#define nm_g_array_index_p(arr, Type, idx) \ - ({ \ - GArray *const _arr = (arr); \ - const guint _idx = (idx); \ - \ - nm_assert(_arr); \ - nm_assert(sizeof(Type) == g_array_get_element_size(_arr)); \ - nm_assert(_idx < _arr->len); \ - \ - &g_array_index(_arr, Type, _idx); \ +#define nm_g_array_index_p(arr, Type, idx) \ + ({ \ + GArray *const _arr_55 = (arr); \ + const guint _idx_55 = (idx); \ + \ + nm_assert(_arr_55); \ + nm_assert(sizeof(Type) == g_array_get_element_size(_arr_55)); \ + nm_assert(_idx_55 < _arr_55->len); \ + \ + &g_array_index(_arr_55, Type, _idx_55); \ }) #define nm_g_array_append_new(arr, Type) \