summary refs log tree commit diff
path: root/lisc/isel.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-02-23 11:27:23 -0500
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-02-23 11:27:23 -0500
commite301a5145798b0c0d441180833f003f50c427e01 (patch)
tree8b484fa58bb3ba56299330f5ae58b96d62047431 /lisc/isel.c
parent82d5bbc0bc0a99136fed9471868d5358c742128c (diff)
downloadroux-e301a5145798b0c0d441180833f003f50c427e01.tar.gz
fix uninitialized variable in selpar()
Diffstat (limited to 'lisc/isel.c')
-rw-r--r--lisc/isel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisc/isel.c b/lisc/isel.c
index 0e9689b..6c579d6 100644
--- a/lisc/isel.c
+++ b/lisc/isel.c
@@ -668,6 +668,7 @@ selpar(Fn *fn, Ins *i0, Ins *i1)
 
 	curi = insb;
 	ni = 0;
+	ns = 0;
 	assert(NAlign == 3);
 	stk = -2;
 	for (i=i0, a=ac; i<i1; i++, a++) {