mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 07:20:50 +00:00
Fix a "set but not used" warning/error.
I'm not sure what I had planned with "list", so I just commented it out with FIXMEs.
This commit is contained in:
parent
b18ff4ed3e
commit
607a4be2e2
1 changed files with 4 additions and 4 deletions
|
@ -136,9 +136,9 @@ read_adtl (dstring_t *list_buf, QFile *f, int len)
|
|||
riff_ltxt_t *ltxt;
|
||||
riff_label_t *label;
|
||||
riff_data_t *data;
|
||||
riff_list_t *list;
|
||||
//FIXME riff_list_t *list;
|
||||
|
||||
list = (riff_list_t *) list_buf->str;
|
||||
//FIXME list = (riff_list_t *) list_buf->str;
|
||||
while (len) {
|
||||
if (!Rread (f, &ck, sizeof (ck))) {
|
||||
len = 0;
|
||||
|
@ -172,11 +172,11 @@ read_adtl (dstring_t *list_buf, QFile *f, int len)
|
|||
}
|
||||
len -= ck.len + (ck.len & 1);
|
||||
dstring_append (list_buf, (char *)&chunk, sizeof (chunk));
|
||||
list = (riff_list_t *) list_buf->str;
|
||||
//FIXME list = (riff_list_t *) list_buf->str;
|
||||
chunk = 0;
|
||||
}
|
||||
dstring_append (list_buf, (char *)&chunk, sizeof (chunk));
|
||||
list = (riff_list_t *) list_buf->str;
|
||||
//FIXME list = (riff_list_t *) list_buf->str;
|
||||
}
|
||||
|
||||
static riff_list_t *
|
||||
|
|
Loading…
Reference in a new issue