summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--bin/NPClient.dllbin17408 -> 17408 bytes
-rw-r--r--bin/NPClient64.dllbin18432 -> 18432 bytes
-rw-r--r--contrib/very-important-source-code/npclient.c10
3 files changed, 9 insertions, 1 deletions
diff --git a/bin/NPClient.dll b/bin/NPClient.dll
index 13ffe107..27caf167 100644
--- a/bin/NPClient.dll
+++ b/bin/NPClient.dll
Binary files differ
diff --git a/bin/NPClient64.dll b/bin/NPClient64.dll
index 341d1010..15aeb86f 100644
--- a/bin/NPClient64.dll
+++ b/bin/NPClient64.dll
Binary files differ
diff --git a/contrib/very-important-source-code/npclient.c b/contrib/very-important-source-code/npclient.c
index f11fbfdb..4df0fcad 100644
--- a/contrib/very-important-source-code/npclient.c
+++ b/contrib/very-important-source-code/npclient.c
@@ -12,6 +12,8 @@
#define FREETRACK_MUTEX "FT_Mutext"
#define FT_MM_DATA "FT_SharedMem"
+#define UNUSED(var) (void)var
+
typedef struct TFreeTrackData
{
int DataID;
@@ -94,6 +96,8 @@ typedef struct tir_signature
BOOL DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
+ UNUSED(lpvReserved);
+
switch (fdwReason)
{
case DLL_PROCESS_ATTACH:
@@ -258,7 +262,7 @@ static unsigned cksum(unsigned char buf[], unsigned size)
return (unsigned)c;
}
-static __inline void enhance(unsigned char buf[], unsigned size, unsigned char table[], int table_size)
+static __inline void enhance(unsigned char buf[], unsigned size, unsigned char table[], unsigned table_size)
{
unsigned table_ptr = 0;
unsigned char var = 0x88;
@@ -362,6 +366,7 @@ NP_EXPORT(int) NP_GetData(tir_data_t * data)
NP_EXPORT(int) NP_GetParameter(int arg0, int arg1)
{
+ UNUSED(arg0); UNUSED(arg1);
dbg_report("GetParameter request: %d %d\n", arg0, arg1);
return (int) 0;
}
@@ -492,6 +497,7 @@ NP_EXPORT(int) NP_RegisterProgramProfileID(unsigned short id)
NP_EXPORT(int) NP_RegisterWindowHandle(HWND hwnd)
{
+ UNUSED(hwnd);
dbg_report("RegisterWindowHandle request: %p\n", (void*) hwnd);
return (int) 0;
}
@@ -501,6 +507,7 @@ NP_EXPORT(int) NP_RegisterWindowHandle(HWND hwnd)
NP_EXPORT(int) NP_RequestData(unsigned short req)
{
+ UNUSED(req);
dbg_report("RequestData request: %d\n", req);
return (int) 0;
}
@@ -510,6 +517,7 @@ NP_EXPORT(int) NP_RequestData(unsigned short req)
NP_EXPORT(int) NP_SetParameter(int arg0, int arg1)
{
+ UNUSED(arg0); UNUSED(arg1);
dbg_report("SetParameter request: %d %d\n", arg0, arg1);
return (int) 0;
}