From: Jonathan Lebon Date: Mon, 17 Aug 2020 13:48:12 +0000 (-0400) Subject: lib/cleanup: Drop unnecessary GEqualFunc cast X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~9^2~1^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e4fb7d3bb152f70ec82c33bf19089e9ac0bcc9c4;p=ostree.git lib/cleanup: Drop unnecessary GEqualFunc cast --- diff --git a/src/libostree/ostree-sysroot-cleanup.c b/src/libostree/ostree-sysroot-cleanup.c index 71d978e0..ffad4130 100644 --- a/src/libostree/ostree-sysroot-cleanup.c +++ b/src/libostree/ostree-sysroot-cleanup.c @@ -295,9 +295,9 @@ cleanup_old_deployments (OstreeSysroot *self, /* Load all active deployments referenced by bootloader configuration. */ g_autoptr(GHashTable) active_deployment_dirs = - g_hash_table_new_full (g_str_hash, (GEqualFunc)g_str_equal, g_free, NULL); + g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); g_autoptr(GHashTable) active_boot_checksums = - g_hash_table_new_full (g_str_hash, (GEqualFunc)g_str_equal, g_free, NULL); + g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL); for (guint i = 0; i < self->deployments->len; i++) { OstreeDeployment *deployment = self->deployments->pdata[i];