mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-07 17:45:23 +00:00
trivial: Fix up two compile warnings
This commit is contained in:
parent
66a24da646
commit
c7ea2a2369
@ -863,6 +863,7 @@ dfu_firmware_get_cipher_kind (DfuFirmware *firmware)
|
|||||||
/**
|
/**
|
||||||
* dfu_firmware_set_cipher_kind:
|
* dfu_firmware_set_cipher_kind:
|
||||||
* @firmware: a #DfuFirmware
|
* @firmware: a #DfuFirmware
|
||||||
|
* @cipher_kind: a #DfuCipherKind, e.g. %DFU_CIPHER_KIND_XTEA
|
||||||
*
|
*
|
||||||
* Sets the kind of cipher used by the firmware file.
|
* Sets the kind of cipher used by the firmware file.
|
||||||
*
|
*
|
||||||
|
@ -663,7 +663,7 @@ fu_ebitdo_device_new (GUsbDevice *usb_device)
|
|||||||
{ 0x1002, 0x9000, FU_EBITDO_DEVICE_KIND_FC30PRO },
|
{ 0x1002, 0x9000, FU_EBITDO_DEVICE_KIND_FC30PRO },
|
||||||
{ 0x2002, 0x9000, FU_EBITDO_DEVICE_KIND_NES30PRO },
|
{ 0x2002, 0x9000, FU_EBITDO_DEVICE_KIND_NES30PRO },
|
||||||
{ 0x8000, 0x1002, FU_EBITDO_DEVICE_KIND_FC30_ARCADE },
|
{ 0x8000, 0x1002, FU_EBITDO_DEVICE_KIND_FC30_ARCADE },
|
||||||
{ 0x0000, 0x0000, FU_EBITDO_DEVICE_KIND_UNKNOWN, NULL }
|
{ 0x0000, 0x0000, FU_EBITDO_DEVICE_KIND_UNKNOWN }
|
||||||
};
|
};
|
||||||
|
|
||||||
device = g_object_new (FU_EBITDO_TYPE_DEVICE, NULL);
|
device = g_object_new (FU_EBITDO_TYPE_DEVICE, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user