From c5344d5a9deb57a07a9e28d1516763b5b0cb07c8 Mon Sep 17 00:00:00 2001 From: Jonathan Hanks <jonathan.hanks@ligo.org> Date: Fri, 29 May 2020 13:49:38 -0700 Subject: [PATCH] Fix for #120. Removes the unused '-d' command line options. Also removes some other unused variables. --- src/pub_sub_stream/pub_xmit.cc | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/pub_sub_stream/pub_xmit.cc b/src/pub_sub_stream/pub_xmit.cc index 91b21f33b..fe59bf6d0 100644 --- a/src/pub_sub_stream/pub_xmit.cc +++ b/src/pub_sub_stream/pub_xmit.cc @@ -279,32 +279,18 @@ send_to_local_memory( const std::string& conn_string, int send_delay_ms ) int main( int argc, char* argv[] ) { - int counter = 0; - int nsys = 1; - int dcuId[ 10 ]; - int ii = 0; - const char* gds_tp_dir = 0; int max_data_size_mb = 64; int max_data_size = 0; - int error = 0; const char* publish_conn = nullptr; const char* buffer_name = "local_dc"; int send_delay_ms = 0; args_handle arg_parser = NULL; - int my_eid; - const char* rem_host; - const char* sysname; const char* logfname = 0; - rem_host = NULL; - sysname = NULL; - fprintf( stderr, "\n %s compiled %s : %s\n\n", argv[ 0 ], __DATE__, __TIME__ ); - ii = 0; - arg_parser = args_create_parser( "Transmit data between a LIGO FE computer and the " "daqd system over simple pub/sub interface" ); @@ -342,13 +328,6 @@ main( int argc, char* argv[] ) 0 ); args_add_flag( arg_parser, 'v', ARGS_NO_LONG, "Verbose output", &do_verbose ); - args_add_string_ptr( arg_parser, - 'd', - ARGS_NO_LONG, - "directory", - "Path to the gds tp dir used to lookup models", - &gds_tp_dir, - 0 ); args_add_int( arg_parser, 'D', -- GitLab