From 56542f983d0c369ee469cc7f7c56464bc9f78e1d Mon Sep 17 00:00:00 2001
From: Danny Auble <da@schedmd.com>
Date: Wed, 9 Nov 2011 12:49:16 -0800
Subject: [PATCH] init uninited variable

---
 src/slurmd/common/run_script.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/slurmd/common/run_script.c b/src/slurmd/common/run_script.c
index 9415904ae08..8ce75089822 100644
--- a/src/slurmd/common/run_script.c
+++ b/src/slurmd/common/run_script.c
@@ -183,7 +183,7 @@ static List _script_list_create (const char *pattern)
 int run_script(const char *name, const char *pattern, uint32_t jobid,
 	   int max_wait, char **env)
 {
-	int rc;
+	int rc = 0;
 	List l;
 	ListIterator i;
 	char *s;
-- 
GitLab