Skip to content

Commit

Permalink
[udev] Switch local variable from static to auto
Browse files Browse the repository at this point in the history
The 'iochannel' variable is marked static for no apparent reason.

Drop the 'static'.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
  • Loading branch information
spiiroin committed Sep 5, 2018
1 parent 6c396f3 commit 10ca284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usb_moded-udev.c
Expand Up @@ -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;

Expand Down

0 comments on commit 10ca284

Please sign in to comment.