mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 16:43:15 +00:00
trivial: Fix a BIOS setting self test value
PVS: The 'ret' variable is assigned but is not used by the end of the function.
This commit is contained in:
parent
9ab03d586e
commit
6bb1b1c81f
@ -1487,17 +1487,20 @@ fwupd_bios_settings_func(void)
|
||||
g_assert_nonnull(json2);
|
||||
ret = fu_test_compare_lines(json2,
|
||||
"{\n"
|
||||
" \"BiosSettingReadOnly\" : \"false\",\n"
|
||||
" \"BiosSettingType\" : 1,\n"
|
||||
" \"Name\" : \"UEFISecureBoot\",\n"
|
||||
" \"Description\" : \"Controls Secure boot\",\n"
|
||||
" \"Filename\" : \"/path/to/bar\",\n"
|
||||
" \"BiosSettingCurrentValue\" : \"Disabled\",\n"
|
||||
" \"BiosSettingReadOnly\" : \"false\",\n"
|
||||
" \"BiosSettingType\" : 1,\n"
|
||||
" \"BiosSettingPossibleValues\" : [\n"
|
||||
" \"Disabled\",\n"
|
||||
" \"Enabled\"\n"
|
||||
" ]\n"
|
||||
"}",
|
||||
&error);
|
||||
g_assert_no_error(error);
|
||||
g_assert_true(ret);
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user