aboutsummaryrefslogtreecommitdiff
path: root/src/compiler/ops.zc
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/ops.zc')
-rw-r--r--src/compiler/ops.zc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/ops.zc b/src/compiler/ops.zc
index a396f72..0129e75 100644
--- a/src/compiler/ops.zc
+++ b/src/compiler/ops.zc
@@ -141,7 +141,7 @@ int add_method(char* member, char* function_name) {
return s;
}
int receiver_method(word receiver_type, int member) {
- word link = receiver_methods, ft, actual; word[8] bs; int found = -1, s;
+ word link = receiver_methods, ft, actual; word[8] bs = {}; int found = -1, s;
while (link) {
s = link[2];
if (s < nsym && link[1] == member) {