mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-06 16:21:50 +00:00
dispatcher: make global data in "nm-dispatcher.c" static
It's not needed outside the source file, and lgtm.com complains that global variables should have a long name. Poor global variable name 'gl'. Prefer longer, descriptive names for globals (eg. kMyGlobalConstant, not foo).
This commit is contained in:
parent
f0fff996e2
commit
b615dd83da
|
@ -62,7 +62,7 @@ typedef struct {
|
|||
bool shutdown_quitting;
|
||||
} GlobalData;
|
||||
|
||||
GlobalData gl;
|
||||
static GlobalData gl;
|
||||
|
||||
typedef struct {
|
||||
Request *request;
|
||||
|
|
Loading…
Reference in a new issue