Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Discover
Commits
33edaebc
Commit
33edaebc
authored
Apr 15, 2021
by
Aleix Pol Gonzalez
🐧
Browse files
fwupd: --warnings
parent
cc7d0cd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
libdiscover/backends/FwupdBackend/FwupdBackend.cpp
View file @
33edaebc
...
...
@@ -159,7 +159,7 @@ FwupdResource *FwupdBackend::createApp(FwupdDevice *device)
if
(
!
app
->
isLiveUpdatable
())
{
qWarning
()
<<
"Fwupd Error: "
<<
app
->
name
()
<<
"["
<<
app
->
id
()
<<
"]"
<<
"cannot be updated
"
;
<<
"cannot be updated"
;
return
nullptr
;
}
...
...
@@ -295,8 +295,8 @@ static void fwupd_client_refresh_remote_cb(GObject * /*source*/, GAsyncResult *r
{
FwupdBackend
*
helper
=
(
FwupdBackend
*
)
user_data
;
g_autoptr
(
GError
)
error
=
nullptr
;
fwupd_client_refresh_remote_finish
(
helper
->
client
,
res
,
&
error
);
if
(
error
)
const
bool
successful
=
fwupd_client_refresh_remote_finish
(
helper
->
client
,
res
,
&
error
);
if
(
!
successful
)
helper
->
handleError
(
error
);
}
...
...
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