mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-29 20:20:43 +00:00
- compile fix for info.c. We can't call any functions until /after/
all variables are declared.
This commit is contained in:
parent
6d62497934
commit
3417167e7e
1 changed files with 3 additions and 2 deletions
|
@ -227,12 +227,13 @@ Info_Destroy (info_t *info)
|
||||||
char *
|
char *
|
||||||
Info_MakeString (info_t *info, int (*filter)(const char *))
|
Info_MakeString (info_t *info, int (*filter)(const char *))
|
||||||
{
|
{
|
||||||
char *string = Hunk_TempAlloc (info->cursize + 1);
|
char *string;
|
||||||
const char *s;
|
const char *s;
|
||||||
char *d = string;
|
char *d;
|
||||||
info_key_t **key_list;
|
info_key_t **key_list;
|
||||||
info_key_t **key;
|
info_key_t **key;
|
||||||
|
|
||||||
|
d = string = Hunk_TempAlloc (info->cursize + 1);
|
||||||
key_list = (info_key_t **)Hash_GetList (info->tab);
|
key_list = (info_key_t **)Hash_GetList (info->tab);
|
||||||
|
|
||||||
for (key = key_list; *key; key++) {
|
for (key = key_list; *key; key++) {
|
||||||
|
|
Loading…
Reference in a new issue