~mpu/qbe

fix -Wsometimes-uninitialized warning in non DEBUG builds v1 PROPOSED

Scott Graham: 1
 fix -Wsometimes-uninitialized warning in non DEBUG builds

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~mpu/qbe/patches/56845/mbox | git am -3
Learn more about email & git

[PATCH] fix -Wsometimes-uninitialized warning in non DEBUG builds Export this patch

---
 rv64/isel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rv64/isel.c b/rv64/isel.c
index 8921a07..99cc158 100644
--- a/rv64/isel.c
+++ b/rv64/isel.c
@@ -154,7 +154,7 @@ selcmp(Ins i, int k, int op, Fn *fn)
		i.op = KWIDE(k) ? Oceqd : Oceqs;
		break;
	default:
		assert(0 && "unknown comparison");
		die("unknown comparison");
	}
	if (op < NCmpI)
		i.op = sign ? Ocsltl : Ocultl;
-- 
2.47.0.vfs.0.3