mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-01-29 18:10:34 +01:00
lib: Remove unnecessary cast
This commit is contained in:
parent
1b1f8f375c
commit
0d08f8feea
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ up_client_get_devices_full (UpClient *client,
|
|||
|
||||
for (i = 0; devices[i] != NULL; i++) {
|
||||
UpDevice *device;
|
||||
const char *object_path = ((char **)devices)[i];
|
||||
const char *object_path = devices[i];
|
||||
gboolean ret;
|
||||
|
||||
device = up_device_new ();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue