Commit 5252d48c authored by Johannes Kanig's avatar Johannes Kanig Committed by Sylvain Dailler

Q213-024 remove useless global init and add comment

Change-Id: Ic12eaeb437151a71a168b0f14f7a8db3343c5cb9
(cherry picked from commit 6c45b3cf5a559c064d136631a6d297f52d267afe)
parent 8f610390
......@@ -16,7 +16,8 @@
#include "options.h"
int parallel = 1;
char* socketname = NULL;
/* global data doesn't need null initialization, so none provided here */
char* socketname;
bool logging = false;
bool single_client = false;
......
......@@ -66,6 +66,7 @@ struct pollfd* poll_list;
int poll_num = 0;
int poll_len = 0;
// global pointers are initialized with NULL by C semantics
plist processes;
plist clients;
char *current_dir;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment