shithub: riscv

Download patch

ref: caec06be08d80ed5c6d99367604dbba006d6013f
parent: 94b1d3f0ad587b6e507ff872eb8562466e3af21a
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Dec 28 22:56:56 EST 2023

qc: fix crash, nodet not nused/initialized

--- a/sys/src/cmd/qc/reg.c
+++ b/sys/src/cmd/qc/reg.c
@@ -545,7 +545,7 @@
 		v++;
 	}
 	if(s)
-		if(s->name[0] == '.' && s != nodret->sym)
+		if(s->name[0] == '.')
 			goto none;
 	if(nvar >= NVAR) {
 		if(debug['w'] > 1 && s)