From 48296462f05211218acca8c26289e1e87d787a26 Mon Sep 17 00:00:00 2001 From: Timothy Stack <stack@flux.utah.edu> Date: Thu, 16 Dec 2004 00:18:33 +0000 Subject: [PATCH] Compile error --- robots/vmcd/vmc-client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/robots/vmcd/vmc-client.c b/robots/vmcd/vmc-client.c index f04f787a9d..5386b42931 100644 --- a/robots/vmcd/vmc-client.c +++ b/robots/vmcd/vmc-client.c @@ -83,6 +83,7 @@ static int encode_packets(char *buffer, mezz_mmap_t *mm) struct mtp_packet mp; int lpc, retval; char *cursor; + int last_idx_set; struct mtp_packet *hack_decl = NULL; assert(buffer != NULL); @@ -116,7 +117,7 @@ static int encode_packets(char *buffer, mezz_mmap_t *mm) mp.data.update_position = &mup; cursor = buffer; - int last_idx_set = 0; + last_idx_set = 0; for (lpc = 0; lpc < mol->count; ++lpc) { if (mol->objects[lpc].valid) { last_idx_set = lpc; -- GitLab