diff --git a/trick_sims/SIM_satellite/models/Satellite/graphics/SatelliteModel.c b/trick_sims/SIM_satellite/models/Satellite/graphics/SatelliteModel.c index 6be46e4c..1ad7eda0 100644 --- a/trick_sims/SIM_satellite/models/Satellite/graphics/SatelliteModel.c +++ b/trick_sims/SIM_satellite/models/Satellite/graphics/SatelliteModel.c @@ -35,8 +35,6 @@ GLuint MakeTexture(GLubyte* data , int width, int height) { void Satellite_initialize(void) { - FILE fp; - capsuleTextureID = MakeTexture(Capsule_texture, CAPSULE_TEXTURE_WIDTH, CAPSULE_TEXTURE_HEIGHT); nozzleTextureID = MakeTexture(Nozzle_texture, NOZZLE_TEXTURE_WIDTH, NOZZLE_TEXTURE_HEIGHT); diff --git a/trick_sims/SIM_satellite/models/Satellite/src/Satellite.cpp b/trick_sims/SIM_satellite/models/Satellite/src/Satellite.cpp index 527293ca..751c2d5d 100644 --- a/trick_sims/SIM_satellite/models/Satellite/src/Satellite.cpp +++ b/trick_sims/SIM_satellite/models/Satellite/src/Satellite.cpp @@ -28,8 +28,6 @@ void Satellite::get_force_of_gravity ( double* gForceV) { void Satellite::get_Force_and_Torque() { double gforcev[3]; - double thruster_force[3]; - double thruster_torque[3]; // Zero force. for (int ii=0; ii<3; ii++) { force[ii] = 0.0; } diff --git a/trick_source/codegen/Interface_Code_Gen/FieldVisitor.cpp b/trick_source/codegen/Interface_Code_Gen/FieldVisitor.cpp index a3600ab7..553aa895 100644 --- a/trick_source/codegen/Interface_Code_Gen/FieldVisitor.cpp +++ b/trick_source/codegen/Interface_Code_Gen/FieldVisitor.cpp @@ -237,7 +237,6 @@ bool FieldVisitor::VisitFieldDecl( clang::FieldDecl *field ) { if ( !qt.isCanonical() ) { fdes->setNonCanonicalTypeName(qt.getAsString()) ; clang::QualType ct = qt.getCanonicalType() ; - std::string tst_string = ct.getAsString() ; if ( debug_level >= 3 ) { std::cout << "\033[33mFieldVisitor VisitFieldDecl: Processing canonical type\033[00m" << std::endl ; ct.dump() ; @@ -271,8 +270,6 @@ bool FieldVisitor::ProcessTemplate(std::string in_name , clang::CXXRecordDecl * return false ; } - size_t pos ; - // Check to see if we've processed this template before // If not we need to create attributes for this template if ( processed_templates.find(in_name) == processed_templates.end() ) { diff --git a/trick_source/codegen/Interface_Code_Gen/PrintAttributes.cpp b/trick_source/codegen/Interface_Code_Gen/PrintAttributes.cpp index 2249d175..8583c5be 100644 --- a/trick_source/codegen/Interface_Code_Gen/PrintAttributes.cpp +++ b/trick_source/codegen/Interface_Code_Gen/PrintAttributes.cpp @@ -383,7 +383,6 @@ void PrintAttributes::printIOMakefile() { std::ofstream io_link_list ; std::ofstream ICG_processed ; std::ofstream ext_lib ; - unsigned int ii ; // Don't create a makefile if we didn't process any files. if ( out_of_date_io_files.empty() ) { diff --git a/trick_source/data_products/DPX/APPS/GXPLOT/gp_view_curve_node.cpp b/trick_source/data_products/DPX/APPS/GXPLOT/gp_view_curve_node.cpp index 91521f85..f15cc6d2 100644 --- a/trick_source/data_products/DPX/APPS/GXPLOT/gp_view_curve_node.cpp +++ b/trick_source/data_products/DPX/APPS/GXPLOT/gp_view_curve_node.cpp @@ -42,7 +42,6 @@ GPViewCurveNode::GPViewCurveNode( Widget Toplevel, std::string curve_symbol_style; std::string curve_symbol_size; std::string tmp_string; - std::stringstream tmp_stream; toplevel = Toplevel; dpc_curve = Curve; diff --git a/trick_source/data_products/DPX/APPS/GXPLOT/gp_view_plot_node.cpp b/trick_source/data_products/DPX/APPS/GXPLOT/gp_view_plot_node.cpp index 2ab89e8b..5a84d332 100644 --- a/trick_source/data_products/DPX/APPS/GXPLOT/gp_view_plot_node.cpp +++ b/trick_source/data_products/DPX/APPS/GXPLOT/gp_view_plot_node.cpp @@ -95,7 +95,6 @@ void GPViewPlotNode::finalize() { std::string plot_data_src_label; std::string plot_title; std::string plot_x_label; - std::string plot_x_units; std::string plot_x_scale; std::string plot_x_min_rng; std::string plot_x_max_rng; diff --git a/trick_source/sim_services/DebugPause/DebugPause.cpp b/trick_source/sim_services/DebugPause/DebugPause.cpp index 21b00757..b95bcbd2 100644 --- a/trick_source/sim_services/DebugPause/DebugPause.cpp +++ b/trick_source/sim_services/DebugPause/DebugPause.cpp @@ -60,7 +60,6 @@ int Trick::DebugPause::debug_signal() { int Trick::DebugPause::debug_pause_on() { - std::map::iterator it ; std::stringstream sem_name_stream ; if ( debug_pause_flag == true ) { diff --git a/trick_source/sim_services/Executive/Executive_loop_multi_thread.cpp b/trick_source/sim_services/Executive/Executive_loop_multi_thread.cpp index 26cdc674..34e348c1 100644 --- a/trick_source/sim_services/Executive/Executive_loop_multi_thread.cpp +++ b/trick_source/sim_services/Executive/Executive_loop_multi_thread.cpp @@ -38,7 +38,6 @@ int Trick::Executive::loop_multi_thread() { JobData * depend_job ; unsigned int ii ; - std::stringstream error_message ; Trick::ScheduledJobQueue * main_sched_queue ; int ret = 0 ; diff --git a/trick_source/sim_services/InputProcessor/IPPython.cpp b/trick_source/sim_services/InputProcessor/IPPython.cpp index 96c3c9df..f940361f 100644 --- a/trick_source/sim_services/InputProcessor/IPPython.cpp +++ b/trick_source/sim_services/InputProcessor/IPPython.cpp @@ -79,8 +79,6 @@ int Trick::IPPython::init() { /** @par Detailed Design: */ FILE *input_fp ; - std::string shortcut ; - std::string verify_command ; int ret ; std::string error_message ; pthread_mutexattr_t m_attr ; diff --git a/trick_source/sim_services/MemoryManager/MemoryManager_add_attr_info.cpp b/trick_source/sim_services/MemoryManager/MemoryManager_add_attr_info.cpp index bd7e91f7..14692ca7 100644 --- a/trick_source/sim_services/MemoryManager/MemoryManager_add_attr_info.cpp +++ b/trick_source/sim_services/MemoryManager/MemoryManager_add_attr_info.cpp @@ -21,14 +21,12 @@ int Trick::MemoryManager::add_attr_info( const std::string & user_type_string , std::string sub_attr_init_name ; std::string size_func_name ; size_t spos ; - std::string::iterator pos ; ATTRIBUTES* sub_attr = NULL ; ENUM_ATTR* enum_attr = NULL ; void (*init_sub_attr)(void) = NULL ; size_t (*size_func)(void) = NULL ; unsigned int ii ; std::set::iterator it ; - std::map::iterator mit; /** @par Design Details: */ diff --git a/trick_source/sim_services/UdUnits/map_trick_units_to_udunits.cpp b/trick_source/sim_services/UdUnits/map_trick_units_to_udunits.cpp index 11869fc2..cddfd8c5 100644 --- a/trick_source/sim_services/UdUnits/map_trick_units_to_udunits.cpp +++ b/trick_source/sim_services/UdUnits/map_trick_units_to_udunits.cpp @@ -74,7 +74,6 @@ std::string map_trick_units_to_udunits( std::string orig_units ) { std::vector::iterator it ; tokenize_units(orig_units, tokens, "*/^()") ; for( it = tokens.begin() ; it != tokens.end() ; it++ ) { - std::string power ; char last_char = *((*it).rbegin()) ; // tokens can end in powers of 2 or 3 in the old system. // save the power if it is the last character diff --git a/trick_source/trick_utils/comm/test_programs/dr_client.c b/trick_source/trick_utils/comm/test_programs/dr_client.c index ff686b29..8ed307d2 100644 --- a/trick_source/trick_utils/comm/test_programs/dr_client.c +++ b/trick_source/trick_utils/comm/test_programs/dr_client.c @@ -34,9 +34,7 @@ void dump_data ( DataFiles* df, int main( int narg, char** args ) { DataFiles df ; - DataFiles headers ; TCDevice connection ; - int isAsciiData ; int ret ; char* file_name ; char* msg ;