From ecf45acd236aaf1a0d2b00a94a24d8f24fbceae4 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Tue, 26 Mar 2013 16:50:03 +0000 Subject: Fix some of the things clang --analyze flagged --- src/qcommon/huffman.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/qcommon/huffman.c') 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; } -- cgit