From 4a4fa87e9c5b7c3bc464489857bc6faf8fedc743 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Wed, 26 May 2010 23:25:53 +0000 Subject: [PATCH] empty cleanup git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5074 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/enet/compress.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/enet/compress.c b/source/enet/compress.c index 359d7223..e8cd8ab6 100644 --- a/source/enet/compress.c +++ b/source/enet/compress.c @@ -199,7 +199,7 @@ enet_symbol_rescale (ENetSymbol * symbol) } #ifdef ENET_CONTEXT_EXCLUSION -static const ENetSymbol enet_context_empty = { 0, 0, 0, 0, 0, 0, 0, 0, 0 }; +static const ENetSymbol emptyContext = { 0, 0, 0, 0, 0, 0, 0, 0, 0 }; #define ENET_CONTEXT_WALK(context, body) \ { \ @@ -268,7 +268,7 @@ enet_range_coder_compress (void * context, const ENetBuffer * inBuffers, size_t { ENetSymbol * subcontext, * symbol; #ifdef ENET_CONTEXT_EXCLUSION - const ENetSymbol * childContext = & enet_context_empty; + const ENetSymbol * childContext = & emptyContext; #endif enet_uint8 value; enet_uint16 count, under, * parent = & predicted, total; @@ -521,7 +521,7 @@ enet_range_coder_decompress (void * context, const enet_uint8 * inData, size_t i { ENetSymbol * subcontext, * symbol, * patch; #ifdef ENET_CONTEXT_EXCLUSION - const ENetSymbol * childContext = & enet_context_empty; + const ENetSymbol * childContext = & emptyContext; #endif enet_uint8 value = 0; enet_uint16 code, under, count, bottom, * parent = & predicted, total;