Commits

Anonymous committed d76df65

Avoid assigned by unused variable warning.

Comments (0)

Files changed (1)

 property(struct scan_st *sc, struct event *e)
 {
 	if (tokeq(sc, "causes")) {
-		struct consequence *c;
 		struct symstr *ss;
 		struct etime et = etime_zero;
 
 		if (tokeq(sc, "after")) {
 			scan(sc);
 			time_spec(sc, &et);
-			c = event_consequence_append(e, ss, &et);
+			(void)event_consequence_append(e, ss, &et);
 		} else {
-			c = event_consequence_append(e, ss, NULL);
+			(void)event_consequence_append(e, ss, NULL);
 		}
 		while(tokeq(sc, "when")) {
 			scan(sc);