From 8236a0873e9916c2c77e5245aab2ecfddccedfc5 Mon Sep 17 00:00:00 2001 From: Angus Salkeld Date: Tue, 18 May 2010 00:14:02 +0000 Subject: [PATCH] cov 10404: don't assign loc pointer when not used. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2847 fd59a12c-fef9-0310-b244-a6a79926bd2f --- exec/coroparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exec/coroparse.c b/exec/coroparse.c index a1e38437..f3a26ee3 100644 --- a/exec/coroparse.c +++ b/exec/coroparse.c @@ -188,7 +188,7 @@ static int parse_section(FILE *fp, value, strlen (value) + 1, OBJDB_VALUETYPE_STRING); } - if ((loc = strchr_rs (line, '}'))) { + if (strchr_rs (line, '}')) { return 0; } }