aboutsummaryrefslogtreecommitdiff
path: root/base/plugins.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2012-02-10 01:45:16 +0100
committerJohannes Schickel2012-02-10 01:45:16 +0100
commit1adc7f0bdd159e733959c24a122f593e3a006628 (patch)
tree2b4a2c886cffceb84feddbb077fb4f96054b0fe7 /base/plugins.cpp
parent9cf2fae53abb1bf40655ed563931937930a9d4ec (diff)
downloadscummvm-rg350-1adc7f0bdd159e733959c24a122f593e3a006628.tar.gz
scummvm-rg350-1adc7f0bdd159e733959c24a122f593e3a006628.tar.bz2
scummvm-rg350-1adc7f0bdd159e733959c24a122f593e3a006628.zip
BASE: Remove unneeded code in PluginManagerUncached.
Thanks to Yotam for confirming that this isn't needed anymore.
Diffstat (limited to 'base/plugins.cpp')
-rw-r--r--base/plugins.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/base/plugins.cpp b/base/plugins.cpp
index df12d0d3ba..db8a5d8817 100644
--- a/base/plugins.cpp
+++ b/base/plugins.cpp
@@ -355,8 +355,6 @@ void PluginManagerUncached::init() {
unloadAllPlugins();
_allEnginePlugins.clear();
- // Resize our pluginsInMem list to prevent fragmentation
- _pluginsInMem[PLUGIN_TYPE_ENGINE].resize(2);
unloadPluginsExcept(PLUGIN_TYPE_ENGINE, NULL, false); // empty the engine plugins
for (ProviderList::iterator pp = _providers.begin();