summaryrefslogtreecommitdiffstats
path: root/Monitor.c
diff options
context:
space:
mode:
authorJes Sorensen <jsorensen@fb.com>2017-05-11 22:44:19 +0200
committerJes Sorensen <jsorensen@fb.com>2017-05-11 22:44:19 +0200
commit72362f18aee5adedb405fe61c324604184d74555 (patch)
treef5524c5410d88738e26aeb7fe891e538f39f9799 /Monitor.c
parentMonitor: Not much point declaring mdlist in both forks of the if() statement (diff)
downloadmdadm-72362f18aee5adedb405fe61c324604184d74555.tar.xz
mdadm-72362f18aee5adedb405fe61c324604184d74555.zip
Monitor: mailfrom is initialized correctly
Remove gratituous variable initialization. Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'Monitor.c')
-rw-r--r--Monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Monitor.c b/Monitor.c
index a4afe751..83a6d10a 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;