Fix a lot of MinGW/GCC warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6168 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
e918dd8a27
commit
cf4e5cf132
31 changed files with 92 additions and 87 deletions
|
@ -171,7 +171,7 @@ int StringList::idx2pos(int idx) const
|
|||
{
|
||||
TCHAR *s=(TCHAR*) m_gr.get();
|
||||
int offs=0;
|
||||
size_t cnt=0;
|
||||
int cnt=0;
|
||||
if (idx>=0) while (offs < getcount())
|
||||
{
|
||||
if (cnt++ == idx) return offs;
|
||||
|
@ -228,7 +228,6 @@ int DefineList::add(const TCHAR *name, const TCHAR *value/*=_T("")*/)
|
|||
|
||||
if (!(*newvalue))
|
||||
{
|
||||
extern FILE *g_output;
|
||||
extern int g_display_errors;
|
||||
extern void quit();
|
||||
if (g_display_errors)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue