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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user