From f2460876aec7eaf2d827284adabcd88e53e98e85 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Mon, 9 Aug 2004 18:52:32 +0000 Subject: [PATCH] Remove dead code. --- dlls/richedit/charlist.c | 24 ------------------------ dlls/richedit/charlist.h | 1 - 2 files changed, 25 deletions(-) diff --git a/dlls/richedit/charlist.c b/dlls/richedit/charlist.c index e8524ae69dc..ed4c0cc5f33 100644 --- a/dlls/richedit/charlist.c +++ b/dlls/richedit/charlist.c @@ -56,29 +56,6 @@ void CHARLIST_Enqueue( CHARLIST* pCharList, char myChar ) pCharList->nCount++; } -void CHARLIST_Push( CHARLIST* pCharList, char myChar) -{ - CHARLISTENTRY* pNewEntry = malloc(sizeof(CHARLISTENTRY)); - - TRACE("\n"); - - pNewEntry->myChar = myChar; - - if(pCharList->pHead == NULL) - { - pCharList->pHead = pCharList->pTail = pNewEntry; - pNewEntry->pNext = NULL; - - } - else - { - pNewEntry->pNext = pCharList->pHead; - pCharList->pHead = pNewEntry; - } - - pCharList->nCount++; -} - char CHARLIST_Dequeue(CHARLIST* pCharList) { CHARLISTENTRY* pCurrent; @@ -151,4 +128,3 @@ int CHARLIST_toBuffer(CHARLIST* pCharList, char* pBuffer, int nBufferSize) return 0; } - diff --git a/dlls/richedit/charlist.h b/dlls/richedit/charlist.h index 3273fb22a32..af98bbe3434 100644 --- a/dlls/richedit/charlist.h +++ b/dlls/richedit/charlist.h @@ -36,7 +36,6 @@ typedef struct _tagCHARLIST void CHARLIST_Enqueue( CHARLIST* pCharList, char myChar); -void CHARLIST_Push( CHARLIST* pCharList, char myChar); char CHARLIST_Dequeue(CHARLIST* pCharList); int CHARLIST_GetNbItems(CHARLIST* pCharList); void CHARLIST_FreeList(CHARLIST* pCharList);