Kill some more compiler warnings under Linux and mingw32

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5031 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
pabs3 2007-04-02 10:29:35 +00:00
parent cab85d397f
commit e873b82b53
7 changed files with 23 additions and 7 deletions

View file

@ -162,6 +162,12 @@ typedef DWORDLONG ULONGLONG,*PULONGLONG;
# endif
#endif
#if defined(__GNUC__)
#define UNUSED __attribute__((unused))
#else
#define UNUSED
#endif
// macros
#ifndef _WIN32