mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-14 04:33:08 +00:00
trivial: Fix a false-positive noticed by clang
This commit is contained in:
parent
69fcb73a74
commit
2b9b9f359b
@ -85,6 +85,7 @@ fu_engine_require_hwid_func (void)
|
||||
/* install it */
|
||||
ret = fu_engine_install (engine, device_id, store, blob_cab, FWUPD_INSTALL_FLAG_NONE, &error);
|
||||
g_assert_error (error, FWUPD_ERROR, FWUPD_ERROR_INVALID_FILE);
|
||||
g_assert (error != NULL);
|
||||
g_assert_cmpstr (error->message, ==,
|
||||
"no HWIDs matched 9342d47a-1bab-5709-9869-c840b2eac501");
|
||||
g_assert (!ret);
|
||||
|
Loading…
Reference in New Issue
Block a user