summaryrefslogtreecommitdiff
path: root/src/qcommon/huffman.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2013-03-26 16:50:03 +0000
committerTim Angus <tim@ngus.net>2013-03-27 11:33:16 +0000
commitecf45acd236aaf1a0d2b00a94a24d8f24fbceae4 (patch)
tree23d703104aa48a4533daed653d5c429f73dccb05 /src/qcommon/huffman.c
parenta6e5804c1162832fa99d31c88033cbf6f1efd2f0 (diff)
Fix some of the things clang --analyze flagged
Diffstat (limited to 'src/qcommon/huffman.c')
-rw-r--r--src/qcommon/huffman.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/qcommon/huffman.c b/src/qcommon/huffman.c
index fd228541..aa8ee226 100644
--- a/src/qcommon/huffman.c
+++ b/src/qcommon/huffman.c
@@ -406,7 +406,6 @@ void Huff_Compress(msg_t *mbuf, int offset) {
huff.tree->weight = 0;
huff.lhead->next = huff.lhead->prev = NULL;
huff.tree->parent = huff.tree->left = huff.tree->right = NULL;
- huff.loc[NYT] = huff.tree;
seq[0] = (size>>8);
seq[1] = size&0xff;
@@ -443,6 +442,5 @@ void Huff_Init(huffman_t *huff) {
huff->compressor.tree->weight = 0;
huff->compressor.lhead->next = huff->compressor.lhead->prev = NULL;
huff->compressor.tree->parent = huff->compressor.tree->left = huff->compressor.tree->right = NULL;
- huff->compressor.loc[NYT] = huff->compressor.tree;
}