up-polkit: Drop unused variable
Variable 'error' is declared with g_autoptr(GError) but is never used anywhere in up_polkit_finalize. No function in the body writes to &error or reads from error. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com Signed-off-by: Kate Hsuan <hpa@redhat.com>
This commit is contained in:
parent
6811b6e840
commit
133e024e29
1 changed files with 0 additions and 1 deletions
|
|
@ -137,7 +137,6 @@ static void
|
|||
up_polkit_finalize (GObject *object)
|
||||
{
|
||||
#ifdef HAVE_POLKIT
|
||||
g_autoptr (GError) error = NULL;
|
||||
UpPolkit *polkit;
|
||||
g_return_if_fail (UP_IS_POLKIT (object));
|
||||
polkit = UP_POLKIT (object);
|
||||
|
|
|
|||
Loading…
Reference in a new issue