base-manager: remove shadowing variable

[1/2] Compiling C object src/ModemManager.p/mm-base-manager.c.o
  ../src/mm-base-manager.c: In function ‘remove_device_inhibition’:
  ../src/mm-base-manager.c:1127:20: warning: declaration of ‘l’ shadows a previous local [-Wshadow]
   1127 |             GList *l;
        |                    ^
  ../src/mm-base-manager.c:1116:16: note: shadowed declaration is here
   1116 |         GList *l;
        |                ^
This commit is contained in:
Aleksander Morgado
2023-02-24 13:43:34 +00:00
parent 5cda24111b
commit dee307d2cf

View File

@@ -1124,7 +1124,6 @@ remove_device_inhibition (MMBaseManager *self,
if (device) {
GList *readded_port_infos = NULL;
GList *leftover_ports;
GList *l;
/* Create a new list of inhibited device port infos from the existing
* port probes */