make a local var static and remove a unused var

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@774 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Jay Sorg 2004-10-02 01:01:57 +00:00
parent 845b56bdc9
commit d3c773173d
2 changed files with 2 additions and 3 deletions

View File

@ -28,8 +28,8 @@ extern int g_pstcache_fd[];
extern BOOL g_use_rdp5;
uint32 g_stamp;
int g_num_bitmaps_in_memory[3];
static int g_num_bitmaps_in_memory[3];
/* BITMAP CACHE */
static BMPCACHEENTRY g_bmpcache[3][0xa00];
@ -41,7 +41,7 @@ cache_remove_lru_bitmap(uint8 cache_id)
{
int i;
uint16 cache_idx = 0;
uint32 m = (uint32) - 1;
uint32 m = 0xffffffff;
BMPCACHEENTRY *pbce;
for (i = 0; i < NUM_ELEMENTS(g_bmpcache[cache_id]); i++)

1
rdp.c
View File

@ -1071,7 +1071,6 @@ process_data_pdu(STREAM s, uint32 * ext_disc_reason)
uint8 ctype;
uint16 clen;
uint32 len;
static int max_size;
uint32 roff, rlen;