Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
accountsservice
accountsservice
Commits
1ab9e107
Commit
1ab9e107
authored
Mar 15, 2012
by
Ray Strode
Browse files
lib: return initialized result for delete user
We were just returning an uninitialized variable.
parent
33b06cdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libaccountsservice/act-user-manager.c
View file @
1ab9e107
...
...
@@ -2116,7 +2116,7 @@ act_user_manager_delete_user (ActUserManager *manager,
GError
**
error
)
{
GError
*
local_error
;
gboolean
res
;
gboolean
res
=
TRUE
;
g_debug
(
"ActUserManager: Deleting user '%s' (uid %ld)"
,
act_user_get_user_name
(
user
),
(
long
)
act_user_get_uid
(
user
));
...
...
@@ -2129,6 +2129,7 @@ act_user_manager_delete_user (ActUserManager *manager,
NULL
,
&
local_error
))
{
g_propagate_error
(
error
,
local_error
);
res
=
FALSE
;
}
return
res
;
...
...
Write
Preview
Supports
Markdown
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