Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Zbigniew Jędrzejewski-Szmek
polkit
Commits
774da25f
Commit
774da25f
authored
Nov 03, 2007
by
David Zeuthen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove dead code
parent
da35aa14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
polkit/polkit-action.c
polkit/polkit-action.c
+0
-6
No files found.
polkit/polkit-action.c
View file @
774da25f
...
...
@@ -59,7 +59,6 @@ struct _PolKitAction
{
int
refcount
;
char
*
id
;
GHashTable
*
params
;
};
/**
...
...
@@ -75,10 +74,6 @@ polkit_action_new (void)
PolKitAction
*
action
;
action
=
g_new0
(
PolKitAction
,
1
);
action
->
refcount
=
1
;
action
->
params
=
g_hash_table_new_full
(
g_str_hash
,
g_str_equal
,
g_free
,
g_free
);
return
action
;
}
...
...
@@ -114,7 +109,6 @@ polkit_action_unref (PolKitAction *action)
if
(
action
->
refcount
>
0
)
return
;
g_free
(
action
->
id
);
g_hash_table_destroy
(
action
->
params
);
g_free
(
action
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment