From bdff5e83795939748c4736cef984cc13d8e1463f Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Mon, 15 Oct 2012 08:24:21 -0400 Subject: [PATCH] avoid compiler warning --- src/racket/src/jitinline.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/racket/src/jitinline.c b/src/racket/src/jitinline.c index 9bb11233c3..f0bb3ccbab 100644 --- a/src/racket/src/jitinline.c +++ b/src/racket/src/jitinline.c @@ -561,7 +561,8 @@ int scheme_generate_struct_alloc(mz_jit_state *jitter, int num_args, if (!always_slow) { ref = jit_bmci_ul(jit_forward(), JIT_R0, 0x1); CHECK_LIMIT(); - } + } else + ref = NULL; /* Slow path: non-struct-prop proc, or argument type is bad for a getter. */ @@ -644,7 +645,8 @@ int scheme_generate_struct_alloc(mz_jit_state *jitter, int num_args, __END_SHORT_JUMPS__(1); refdone = jit_jmpi(jit_forward()); __START_SHORT_JUMPS__(1); - } + } else + refdone = NULL; CHECK_LIMIT(); if (always_slow) {