Module: wine Branch: master Commit: 55dccf28595f84767a4731c1e6aacf3a43521f73 URL: http://source.winehq.org/git/wine.git/?a=commit;h=55dccf28595f84767a4731c1e6...
Author: Francois Gouget fgouget@free.fr Date: Sat Feb 7 16:04:49 2009 +0100
uxtheme: UXINI_ResetINI() is unused so remove it.
---
dlls/uxtheme/msstyles.h | 1 - dlls/uxtheme/uxini.c | 14 -------------- 2 files changed, 0 insertions(+), 15 deletions(-)
diff --git a/dlls/uxtheme/msstyles.h b/dlls/uxtheme/msstyles.h index 1d02725..6cd73ac 100644 --- a/dlls/uxtheme/msstyles.h +++ b/dlls/uxtheme/msstyles.h @@ -110,7 +110,6 @@ HRESULT MSSTYLES_GetPropertyMargins(PTHEME_PROPERTY tp, RECT *prc, MARGINS *pMar
PUXINI_FILE UXINI_LoadINI(HMODULE hTheme, LPCWSTR lpName); void UXINI_CloseINI(PUXINI_FILE uf); -void UXINI_ResetINI(PUXINI_FILE uf); LPCWSTR UXINI_GetNextSection(PUXINI_FILE uf, DWORD *dwLen); BOOL UXINI_FindSection(PUXINI_FILE uf, LPCWSTR lpName); LPCWSTR UXINI_GetNextValue(PUXINI_FILE uf, DWORD *dwNameLen, LPCWSTR *lpValue, DWORD *dwValueLen); diff --git a/dlls/uxtheme/uxini.c b/dlls/uxtheme/uxini.c index 02c5443..a2dfabf 100644 --- a/dlls/uxtheme/uxini.c +++ b/dlls/uxtheme/uxini.c @@ -96,19 +96,6 @@ void UXINI_CloseINI(PUXINI_FILE uf) }
/********************************************************************** - * UXINI_ResetINI - * - * Reset the current pointer into INI file to the beginning of the file - * - * PARAMS - * uf Theme INI file to reset - */ -void UXINI_ResetINI(PUXINI_FILE uf) -{ - uf->lpCurLoc = uf->lpIni; -} - -/********************************************************************** * UXINI_eof * * Determines if we are at the end of the INI file @@ -212,7 +199,6 @@ LPCWSTR UXINI_GetNextSection(PUXINI_FILE uf, DWORD *dwLen) * * Locate a section with the specified name, search starts * at current location in ini file - * to start search from start, call UXINI_ResetINI * * PARAMS * uf INI file to search, search starts at current location