]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bus-polkit: drop unused argument
authorDavid Tardon <dtardon@redhat.com>
Tue, 27 Jun 2023 12:39:33 +0000 (14:39 +0200)
committerDavid Tardon <dtardon@redhat.com>
Thu, 13 Jul 2023 14:00:06 +0000 (16:00 +0200)
src/shared/bus-polkit.c

index 879d3c2890863c4d84486b081ab9bcd05f88e1cd..904d775c17800d2cef2beb8b84c39057ca508d57 100644 (file)
@@ -266,7 +266,6 @@ static int process_polkit_response(
                 sd_bus_message *call,
                 const char *action,
                 const char **details,
-                Hashmap **registry,
                 sd_bus_error *ret_error) {
 
         int authorized, challenge, r;
@@ -274,7 +273,6 @@ static int process_polkit_response(
         assert(q);
         assert(call);
         assert(action);
-        assert(registry);
         assert(ret_error);
 
         assert(q->action);
@@ -342,7 +340,7 @@ int bus_verify_polkit_async(
         /* This is the second invocation of this function, and there's already a response from
          * polkit, let's process it */
         if (q)
-                return process_polkit_response(q, call, action, details, registry, ret_error);
+                return process_polkit_response(q, call, action, details, ret_error);
 #endif
 
         r = sd_bus_query_sender_privilege(call, capability);