summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/source/nsplugin/source/npshell.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/extensions/source/nsplugin/source/npshell.cxx b/extensions/source/nsplugin/source/npshell.cxx
index 1967a928deeb..b1208d722caf 100644
--- a/extensions/source/nsplugin/source/npshell.cxx
+++ b/extensions/source/nsplugin/source/npshell.cxx
@@ -120,10 +120,11 @@ long int NSP_WriteToPipe(NSP_PIPE_FD fp, void* buf, unsigned long int len)
len_unix = NSP_Write_Pipe(fp, buf, len, &len_wnt);
#ifdef UNIX
(void)len_wnt;
- return len_unix;
+ return len_unix;
#endif //end of UNIX
#ifdef WNT
- return len_wnt;
+ (void)len_unix;
+ return len_wnt;
#endif //end of WNT
}