From 3417167e7e4133704d43ecb2ce153a9de3acc565 Mon Sep 17 00:00:00 2001 From: Adam Olsen Date: Sun, 4 Nov 2001 15:42:26 +0000 Subject: [PATCH] - compile fix for info.c. We can't call any functions until /after/ all variables are declared. --- libs/util/info.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/util/info.c b/libs/util/info.c index 9aac7320a..7fcd5de10 100644 --- a/libs/util/info.c +++ b/libs/util/info.c @@ -227,12 +227,13 @@ Info_Destroy (info_t *info) char * Info_MakeString (info_t *info, int (*filter)(const char *)) { - char *string = Hunk_TempAlloc (info->cursize + 1); + char *string; const char *s; - char *d = string; + char *d; info_key_t **key_list; info_key_t **key; + d = string = Hunk_TempAlloc (info->cursize + 1); key_list = (info_key_t **)Hash_GetList (info->tab); for (key = key_list; *key; key++) {