summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2010-10-01 16:42:28 +0000
committersmatz <smatz@openttd.org>2010-10-01 16:42:28 +0000
commit77fe95f55270cf856cbd088182fd2ea617d48bf0 (patch)
tree815b5cf915f4510e7ba8e19dbcd9bc956e7cfe75 /src/settings.cpp
parent7f5f4950d7c1ffd09b1425263b202372c73c752e (diff)
downloadopenttd-77fe95f55270cf856cbd088182fd2ea617d48bf0.tar.xz
(svn r20860) -Cleanup: remove some unused functions and variables
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index b3ef6e6c2..82ddb9a14 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -1949,17 +1949,6 @@ static void LoadSettings(const SettingDesc *osd, void *object)
}
/**
- * Loadhandler for a list of global variables
- * @param sdg pointer for the global variable list SettingDescGlobVarList
- * @note this is actually a stub for LoadSettings with the
- * object pointer set to NULL
- */
-static inline void LoadSettingsGlobList(const SettingDescGlobVarList *sdg)
-{
- LoadSettings((const SettingDesc*)sdg, NULL);
-}
-
-/**
* Save and load handler for settings
* @param sd SettingDesc struct containing all information
* @param object can be either NULL in which case we load global variables or
@@ -1982,16 +1971,6 @@ static void SaveSettings(const SettingDesc *sd, void *object)
}
}
-/**
- * Savehandler for a list of global variables
- * @note this is actually a stub for SaveSettings with the
- * object pointer set to NULL
- */
-static inline void SaveSettingsGlobList(const SettingDescGlobVarList *sdg)
-{
- SaveSettings((const SettingDesc*)sdg, NULL);
-}
-
static void Load_OPTS()
{
/* Copy over default setting since some might not get loaded in