From ed7dd953f420ac84bd2b5d7bfe18d7d97998d02d Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Tue, 25 Jan 2011 10:02:25 -0500 Subject: [PATCH] Formatteddump: checkpatch.pl coding style fixes Signed-off-by: Mathieu Desnoyers --- lttv/modules/text/formattedDump.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lttv/modules/text/formattedDump.c b/lttv/modules/text/formattedDump.c index bdadc938..8fc2fbfd 100644 --- a/lttv/modules/text/formattedDump.c +++ b/lttv/modules/text/formattedDump.c @@ -52,8 +52,8 @@ static gboolean a_state; static gboolean a_text; static gboolean a_strace; -static char *a_file_name = NULL; -static char *a_format = NULL; +static char *a_file_name; +static char *a_format; static LttvHooks *before_traceset; static LttvHooks *event_hook; @@ -73,9 +73,9 @@ static gboolean open_output_file(void *hook_data, void *call_data) { g_info("Open the output file"); if (a_file_name == NULL) { - a_file = stdout; + a_file = stdout; } else { - a_file = fopen(a_file_name, "w"); + a_file = fopen(a_file_name, "w"); } if (a_file == NULL) { g_error("cannot open file %s", a_file_name); -- 2.34.1