uxtheme: UXINI_ResetINI() is unused so remove it.
Francois Gouget
fgouget at free.fr
Sat Feb 7 09:04:49 CST 2009
---
It does not seem to have ever been used.
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
--
1.5.6.5
More information about the wine-patches
mailing list