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

Remove W4 warnings (remains from ODS 5 and 7)

This commit is contained in:
brodsom 2003-02-18 11:38:40 +00:00
parent aee3290a61
commit 14ce7a705b
3 changed files with 0 additions and 33 deletions

View File

@ -981,13 +981,6 @@ int DLL_EXPORT BURP_gbak(int argc,
if (*p == '\n')
*p = 0;
#ifdef DEV_BUILD
if (sw_ods7) {
gds__enable_subsystem("GDSSHR5");
gds__enable_subsystem("PIPE5");
}
#endif
tdgbl->action = (ACT) BURP_ALLOC_ZERO(ACT_LEN);
tdgbl->action->act_total = 0;
tdgbl->action->act_file = NULL;

View File

@ -77,7 +77,6 @@ static TEXT DDL_message[256];
#define IN_SW_GDEF_PLI 13 /* source is pli */
#define IN_SW_GDEF_ADA 14 /* source is ada */
#define IN_SW_GDEF_CXX 15 /* source is C++ */
#define IN_SW_GDEF_7 16 /* force creation of an ODS 7 database */
#define IN_SW_GDEF_USER 17 /* user name for PC security */
#define IN_SW_GDEF_PASSWORD 18 /* password for PC security */
@ -99,9 +98,6 @@ static struct in_sw_tab_t gdef_in_sw_table[] = {
{ IN_SW_GDEF_PLI, 0, "PLI", 0, 0, 0, FALSE, 0, 0, "\t\tDYN for PLI" },
{ IN_SW_GDEF_ADA, 0, "ADA", 0, 0, 0, FALSE, 0, 0, "\t\tDYN for ADA" },
{ IN_SW_GDEF_CXX, 0, "CXX", 0, 0, 0, FALSE, 0, 0, "\t\tDYN for C++" },
#ifdef DEV_BUILD
{ IN_SW_GDEF_7, 0, "7", 0, 0, 0, FALSE, 0, 0, NULL },
#endif
{ IN_SW_GDEF_USER, 0, "USER", 0, 0, 0, FALSE, 0, 0,
"\t\tuser name to use in attaching database" },
{ IN_SW_GDEF_PASSWORD, 0, "PASSWORD", 0, 0, 0, FALSE, 0, 0,
@ -133,9 +129,6 @@ int CLIB_ROUTINE main( int argc, char *argv[])
ACT temp, stack;
FIL file;
SLONG redir_in, redir_out, redir_err;
#ifdef DEV_BUILD
USHORT sw_ods7;
#endif
#ifdef VMS
argc = VMS_parse(&argv, argc);
@ -180,9 +173,6 @@ int CLIB_ROUTINE main( int argc, char *argv[])
DDL_drop_database = DDL_quit = DDL_extract = DDL_dynamic = DDL_trace =
DDL_version = FALSE;
DDL_default_user = DDL_default_password = NULL;
#ifdef DEV_BUILD
sw_ods7 = FALSE;
#endif
file_name_1[0] = file_name_2[0] = 0;
@ -305,12 +295,6 @@ int CLIB_ROUTINE main( int argc, char *argv[])
}
break;
#ifdef DEV_BUILD
case IN_SW_GDEF_7:
sw_ods7 = TRUE;
break;
#endif
case IN_SW_GDEF_0:
if (*string != '?')
DDL_msg_put(1, string, 0, 0, 0, 0); /* msg 1: gdef: unknown switch %s */
@ -391,13 +375,6 @@ int CLIB_ROUTINE main( int argc, char *argv[])
DDL_exit(FINI_ERROR);
}
#ifdef DEV_BUILD
if (sw_ods7) {
gds__enable_subsystem("GDSSHR5");
gds__enable_subsystem("PIPE5");
}
#endif
LEX_init(input_file);
HSH_init();
PARSE_actions();

View File

@ -132,9 +132,6 @@ int CLIB_ROUTINE main( int argc, char **argv)
}
gds__disable_subsystem("REMINT");
gds__disable_subsystem("CSI");
gds__disable_subsystem("GDSSHR5");
gds__disable_subsystem("PIPE5");
do {
db_handle = NULL;