From 583dbe954cf149805609659cee941ed6359103ed Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Sun, 26 Mar 2017 20:36:43 -0700 Subject: [PATCH] Silence coverity dead-code warning Signed-off-by: Ralph Castain --- orte/mca/odls/base/odls_base_default_fns.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/orte/mca/odls/base/odls_base_default_fns.c b/orte/mca/odls/base/odls_base_default_fns.c index bfb7bfb5a1..ece314f518 100644 --- a/orte/mca/odls/base/odls_base_default_fns.c +++ b/orte/mca/odls/base/odls_base_default_fns.c @@ -1129,10 +1129,6 @@ void orte_odls_base_default_launch_local(int fd, short sd, void *cbdata) ORTE_ACTIVATE_JOB_STATE(jobdat, ORTE_JOB_STATE_LOCAL_LAUNCH_COMPLETE); ERROR_OUT: - if (NULL != effective_dir) { - free(effective_dir); - effective_dir = NULL; - } /* ensure we reset our working directory back to our default location */ chdir(basedir); /* release the event */