From 2c43321076ffd47113582b39a7f0e8cb5178adf2 Mon Sep 17 00:00:00 2001 From: Scott Fennell Date: Mon, 1 Oct 2018 10:13:39 -0500 Subject: [PATCH] remove dead assignments VariableServerThread_loop --- .../sim_services/VariableServer/VariableServerThread_loop.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trick_source/sim_services/VariableServer/VariableServerThread_loop.cpp b/trick_source/sim_services/VariableServer/VariableServerThread_loop.cpp index bf7fe60d..24c82b52 100644 --- a/trick_source/sim_services/VariableServer/VariableServerThread_loop.cpp +++ b/trick_source/sim_services/VariableServer/VariableServerThread_loop.cpp @@ -36,7 +36,7 @@ void * Trick::VariableServerThread::thread_body() { vs->add_vst( pthread_self() , this ) ; if ( listen_dev->socket_type == SOCK_STREAM ) { - ret = tc_accept(listen_dev, &connection); + tc_accept(listen_dev, &connection); tc_blockio(&connection, TC_COMM_ALL_OR_NOTHING); } connection_accepted = true ; @@ -141,7 +141,7 @@ void * Trick::VariableServerThread::thread_body() { } if ( copy_mode == VS_COPY_ASYNC ) { - ret = copy_sim_data() ; + copy_sim_data() ; } if ( (write_mode == VS_WRITE_ASYNC) or