diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:29:16 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:29:16 +0000 |
commit | 602b63c5d9961b7776e0e830dc4ed026380f6dc9 (patch) | |
tree | 58edc60fbb69308bf987e935228d53c963a561dc /plugin | |
parent | 634bfc0b47a1a0c613c5d1890fa465fc96818d26 (diff) |
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/Main.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/plugin/Main.c b/plugin/Main.c index 002c768..7aab439 100644 --- a/plugin/Main.c +++ b/plugin/Main.c @@ -26,7 +26,7 @@ other dealings in this Software without prior written authorization from The Open Group. */ -/* $XFree86: xc/programs/xrx/plugin/Main.c,v 1.8 2001/12/14 20:02:17 dawes Exp $ */ +/* $XFree86: xc/programs/xrx/plugin/Main.c,v 1.9 2003/05/27 22:27:09 tsi Exp $ */ /* * RX plug-in module based on the UnixTemplate file provided by Netcape. @@ -281,10 +281,6 @@ int32 STREAMBUFSIZE = 0X0FFFFFFF; /* If we are reading from a file in NPAsFile int32 NPP_WriteReady(NPP instance, NPStream *stream) { - PluginInstance* This; - if (instance != NULL) - This = (PluginInstance*) instance->pdata; - return STREAMBUFSIZE; } @@ -360,8 +356,6 @@ NPP_Write(NPP instance, NPStream *stream, int32 offset, int32 len, void *buf) void StartApplication(PluginInstance* This) { - NPError err; - #ifndef NO_STARTING_STATE RxpSetStatusWidget(This, STARTING); #else @@ -371,7 +365,7 @@ StartApplication(PluginInstance* This) /* perform GET request * throwing away the response. */ - err = NPN_GetURL(This->instance, This->query, NULL); + (void) NPN_GetURL(This->instance, This->query, NULL); This->parse_reply = 1; /* we want to print out the answer */ } |