From 10ca284afa5784a16c0c79e053b335191b0e2cce Mon Sep 17 00:00:00 2001 From: Simo Piiroinen Date: Tue, 28 Aug 2018 10:53:26 +0300 Subject: [PATCH] [udev] Switch local variable from static to auto The 'iochannel' variable is marked static for no apparent reason. Drop the 'static'. Signed-off-by: Simo Piiroinen --- src/usb_moded-udev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usb_moded-udev.c b/src/usb_moded-udev.c index 590c3d5..2dcee51 100644 --- a/src/usb_moded-udev.c +++ b/src/usb_moded-udev.c @@ -483,7 +483,7 @@ gboolean umudev_init(void) char *configured_device = NULL; char *configured_subsystem = NULL; struct udev_device *dev = 0; - static GIOChannel *iochannel = 0; + GIOChannel *iochannel = 0; int ret = 0;