You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
731 B
29 lines
731 B
From 72362f18aee5adedb405fe61c324604184d74555 Mon Sep 17 00:00:00 2001 |
|
From: Jes Sorensen <jsorensen@fb.com> |
|
Date: Thu, 11 May 2017 16:44:19 -0400 |
|
Subject: [RHEL7.5 PATCH 138/169] Monitor: mailfrom is initialized |
|
correctly |
|
|
|
Remove gratituous variable initialization. |
|
|
|
Signed-off-by: Jes Sorensen <jsorensen@fb.com> |
|
--- |
|
Monitor.c | 2 +- |
|
1 file changed, 1 insertion(+), 1 deletion(-) |
|
|
|
diff --git a/Monitor.c b/Monitor.c |
|
index a4afe75..83a6d10 100644 |
|
--- a/Monitor.c |
|
+++ b/Monitor.c |
|
@@ -125,7 +125,7 @@ int Monitor(struct mddev_dev *devlist, |
|
struct state *st2; |
|
int finished = 0; |
|
struct mdstat_ent *mdstat = NULL; |
|
- char *mailfrom = NULL; |
|
+ char *mailfrom; |
|
struct alert_info info; |
|
struct mddev_ident *mdlist; |
|
|
|
-- |
|
2.7.4 |
|
|
|
|