build plug-in table only when needed. this also fixes warnings when using something like makensis.exe /X"OutFile bla.exe" /XSection /XSectionEnd

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3236 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-11-30 18:00:39 +00:00
parent 774f3d50de
commit 7bfcfac3c2
4 changed files with 16 additions and 11 deletions

View file

@ -779,6 +779,8 @@ int CEXEBuild::doCommand(int which_token, LineParser &line)
HKEY_CLASSES_ROOT,HKEY_LOCAL_MACHINE,HKEY_CURRENT_USER,HKEY_USERS,HKEY_CURRENT_CONFIG,HKEY_DYN_DATA,HKEY_PERFORMANCE_DATA
};
build_plugin_table();
entry ent={0,};
switch (which_token)
{