4
0
Эх сурвалжийг харах

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
Angus Salkeld 15 жил өмнө
parent
commit
8236a0873e
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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;
 		}
 	}