From: David Goulet Date: Mon, 30 May 2011 15:53:02 +0000 (-0400) Subject: Remove useless zero initialization X-Git-Tag: v2.0-pre1~98 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=33cb613d0d0e9238591566ce7b86868f9976c597;p=lttng-tools.git Remove useless zero initialization Signed-off-by: David Goulet --- diff --git a/lttng/options.c b/lttng/options.c index 643ea5194..5b9e0c858 100644 --- a/lttng/options.c +++ b/lttng/options.c @@ -30,20 +30,20 @@ char *opt_trace_name; int opt_destroy_trace; int opt_create_session; int opt_destroy_session; -int opt_trace_kernel = 0; -int opt_quiet = 0; -int opt_verbose = 0; -int opt_list_apps = 0; -int opt_no_sessiond = 0; -int opt_list_session = 0; -int opt_list_traces = 0; +int opt_trace_kernel; +int opt_quiet; +int opt_verbose; +int opt_list_apps; +int opt_no_sessiond; +int opt_list_session; +int opt_list_traces; int opt_create_trace; -int opt_start_trace = 0; -int opt_stop_trace = 0; +int opt_start_trace; +int opt_stop_trace; int opt_enable_event; int opt_disable_event; int opt_kern_create_channel; -pid_t opt_trace_pid = 0; +pid_t opt_trace_pid; enum { OPT_HELP = 1,