Browse Source

Silent a coverity warning about a variable being uninit when it actually is

Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalked@redhat.com>
Steven Dake 14 years ago
parent
commit
5ff37d497f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      exec/mainconfig.c

+ 1 - 1
exec/mainconfig.c

@@ -287,7 +287,7 @@ static int corosync_main_config_set (
 	const char **error_string)
 {
 	const char *error_reason = error_string_response;
-	char *value;
+	char *value = NULL;
 	int mode;
 	char key_name[ICMAP_KEYNAME_MAXLEN];