Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
libfprint
fprintd
Commits
039c988f
Commit
039c988f
authored
May 16, 2008
by
Bastien Nocera
Committed by
Daniel Drake
May 16, 2008
Browse files
Fix warning on startup
When there are no errors on startup, we'd get a warning as we were copying a NULL GError
parent
5d60894e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/manager.c
View file @
039c988f
...
...
@@ -109,6 +109,9 @@ GError *fprint_manager_get_error(FprintManager *manager)
{
FprintManagerPrivate
*
priv
=
FPRINT_MANAGER_GET_PRIVATE
(
manager
);
if
(
priv
->
last_error
==
NULL
)
return
NULL
;
return
g_error_copy
(
priv
->
last_error
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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