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:
Thomas Haller 2022-10-25 12:08:58 +02:00
parent f0fff996e2
commit b615dd83da
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -62,7 +62,7 @@ typedef struct {
bool shutdown_quitting;
} GlobalData;
GlobalData gl;
static GlobalData gl;
typedef struct {
Request *request;