Explorar o código

Merge trunk revision 2847:
r2847 | asalkeld | 2010-05-17 17:14:02 -0700 (Mon, 17 May 2010) | 2 lines

cov 10404: don't assign loc pointer when not used.



git-svn-id: http://svn.fedorahosted.org/svn/corosync/branches/flatiron@2889 fd59a12c-fef9-0310-b244-a6a79926bd2f

Steven Dake %!s(int64=15) %!d(string=hai) anos
pai
achega
56c98538fd
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      exec/coroparse.c

+ 1 - 1
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;
 		}
 	}