8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 06:03:02 +01:00

-Remove msvc unused var warning.

This commit is contained in:
brodsom 2003-09-15 16:31:21 +00:00
parent f883ff72d8
commit 2ef1e00dfd

View File

@ -32,7 +32,6 @@
#include "../jrd/gds.h" #include "../jrd/gds.h"
#include "../jrd/gds_proto.h" #include "../jrd/gds_proto.h"
#include "../jrd/msg_encode.h" #include "../jrd/msg_encode.h"
#include "../jrd/jrd.h"
#include "../utilities/gsec/gsec.h" #include "../utilities/gsec/gsec.h"
#include "../utilities/gsec/gsec_proto.h" #include "../utilities/gsec/gsec_proto.h"
#include "../jrd/jrd_pwd.h" #include "../jrd/jrd_pwd.h"
@ -71,9 +70,7 @@ static bool get_line(int *, SCHAR **, TEXT *, TSEC);
static bool get_switches(int, TEXT **, IN_SW_TAB, TSEC, bool *); static bool get_switches(int, TEXT **, IN_SW_TAB, TSEC, bool *);
static SSHORT parse_cmd_line(int, TEXT **, TSEC); static SSHORT parse_cmd_line(int, TEXT **, TSEC);
static void printhelp(void); static void printhelp(void);
#ifdef SUPERSERVER #ifndef SUPERSERVER
static int output_svc(SLONG, UCHAR *);
#else
static int output_main(SLONG, UCHAR *); static int output_main(SLONG, UCHAR *);
#endif #endif
@ -111,24 +108,6 @@ int GSEC_main(SVC service)
return exit_code; return exit_code;
} }
int output_svc( SLONG output_data, UCHAR * output_buf)
{
/**************************************
*
* o u t p u t _ s v c
*
**************************************
*
* Functional description
* Routine which is passed to GBAK for calling back when there is output.
*
**************************************/
SVC_fprintf((SVC) output_data, "%s", output_buf);
return 0;
}
#else #else
int CLIB_ROUTINE main( int argc, char *argv[]) int CLIB_ROUTINE main( int argc, char *argv[])