audioscience / avdecc-lib

Simple C++ library for implementing IEEE1722.1 (AVB Device Enumeration, Discovery and Control)
MIT License
79 stars 45 forks source link

fix "unused" parameter warnings #228

Open andrew-elder opened 9 years ago

andrew-elder commented 9 years ago

1> descriptor_base_imp.cpp 1>D:\asi\sw\avdecc-lib\controller\lib\src\descriptor_base_imp.cpp(134): warning C4100: 'acquire_entity_flag' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\descriptor_base_imp.cpp(134): warning C4100: 'notification_id' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\descriptor_base_imp.cpp(140): warning C4100: 'status' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\descriptor_base_imp.cpp(140): warning C4100: 'frame_len' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\descriptor_base_imp.cpp(140): warning C4100: 'frame' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\descriptor_base_imp.cpp(140): warning C4100: 'notification_id' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\descriptor_base_imp.cpp(222): warning C4100: 'lock_entity_flag' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\descriptor_base_imp.cpp(222): warning C4100: 'notification_id' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\descriptor_base_imp.cpp(229): warning C4100: 'status' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\descriptor_base_imp.cpp(229): warning C4100: 'frame_len' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\descriptor_base_imp.cpp(229): warning C4100: 'frame' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\descriptor_base_imp.cpp(229): warning C4100: 'notification_id' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\descriptor_base_imp.cpp(312): warning C4100: 'notification_id' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\descriptor_base_imp.cpp(320): warning C4100: 'status' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\descriptor_base_imp.cpp(320): warning C4100: 'frame_len' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\descriptor_base_imp.cpp(320): warning C4100: 'frame' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\descriptor_base_imp.cpp(320): warning C4100: 'notification_id' : unreferenced formal parameter 1> end_station_imp.cpp 1>D:\asi\sw\avdecc-lib\controller\lib\src\end_station_imp.cpp(689): warning C4244: 'argument' : conversion from 'int' to 'uint16_t', possible loss of data 1>D:\asi\sw\avdecc-lib\controller\lib\src\end_station_imp.cpp(1538): warning C4244: 'argument' : conversion from 'unsigned int' to 'uint16_t', possible loss of data 1>D:\asi\sw\avdecc-lib\controller\lib\src\end_station_imp.cpp(1551): warning C4244: '=' : conversion from 'unsigned int' to 'uint16_t', possible loss of data 1>D:\asi\sw\avdecc-lib\controller\lib\src\end_station_imp.cpp(1762): warning C4100: 'status' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\end_station_imp.cpp(1908): warning C4244: 'argument' : conversion from 'uint32_t' to 'uint16_t', possible loss of data 1> entity_descriptor_imp.cpp 1> entity_descriptor_response_imp.cpp 1> external_port_input_descriptor_imp.cpp 1> external_port_input_descriptor_response_imp.cpp 1> external_port_output_descriptor_imp.cpp 1> external_port_output_descriptor_response_imp.cpp 1> jack_input_descriptor_imp.cpp 1> jack_input_descriptor_response_imp.cpp 1> jack_output_descriptor_imp.cpp 1> jack_output_descriptor_response_imp.cpp 1> locale_descriptor_imp.cpp 1> locale_descriptor_response_imp.cpp 1> log.cpp 1>D:\asi\sw\avdecc-lib\controller\lib\src\log.cpp(37): warning C4100: 'time_stamp_ms' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\log.cpp(37): warning C4100: 'log_msg' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\log.cpp(37): warning C4100: 'log_level' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\log.cpp(37): warning C4100: 'log_user_obj' : unreferenced formal parameter 1> memory_object_descriptor_imp.cpp 1> memory_object_descriptor_response_imp.cpp 1> log_imp.cpp 1>D:\asi\sw\avdecc-lib\controller\lib\src\msvc\log_imp.cpp(75): warning C4127: conditional expression is constant 1> net_interface_imp.cpp 1>D:\asi\sw\avdecc-lib\controller\lib\src\msvc\net_interface_imp.cpp(166): warning C4996: 'inet_addr': Use inet_pton() or InetPton() instead or define _WINSOCK_DEPRECATED_NO_WARNINGS to disable deprecated API warnings 1> C:\Program Files (x86)\Windows Kits\8.1\Include\um\winsock2.h(1850) : see declaration of 'inet_addr' 1> notification_imp.cpp 1>D:\asi\sw\avdecc-lib\controller\lib\src\msvc\notification_imp.cpp(74): warning C4127: conditional expression is constant 1> Generating Code... 1> Compiling... 1> system_layer2_multithreaded_callback.cpp 1>D:\asi\sw\avdecc-lib\controller\lib\src\msvc\system_layer2_multithreaded_callback.cpp(59): warning C4100: 'type' : unreferenced formal parameter 1> system_message_queue.cpp 1> notification.cpp 1>D:\asi\sw\avdecc-lib\controller\lib\src\notification.cpp(37): warning C4100: 'notification_id' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\notification.cpp(37): warning C4100: 'status' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\notification.cpp(37): warning C4100: 'desc_index' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\notification.cpp(37): warning C4100: 'desc_type' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\notification.cpp(36): warning C4100: 'cmd_type' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\notification.cpp(36): warning C4100: 'entity_id' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\notification.cpp(36): warning C4100: 'notification_type' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\notification.cpp(36): warning C4100: 'notification_user_obj' : unreferenced formal parameter 1> response_frame.cpp 1> stream_input_counters_response_imp.cpp 1> stream_input_descriptor_imp.cpp 1>D:\asi\sw\avdecc-lib\controller\lib\src\stream_input_descriptor_imp.cpp(242): warning C4100: 'new_stream_info_field' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\stream_input_descriptor_imp.cpp(242): warning C4100: 'notification_id' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\stream_input_descriptor_imp.cpp(249): warning C4100: 'status' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\stream_input_descriptor_imp.cpp(249): warning C4100: 'frame_len' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\stream_input_descriptor_imp.cpp(249): warning C4100: 'frame' : unreferenced formal parameter 1>D:\asi\sw\avdecc-lib\controller\lib\src\stream_input_descriptor_imp.cpp(249): warning C4100: 'notification_id' : unreferenced formal parameter 1> stream_input_descriptor_response_imp.cpp

vronchetti commented 8 years ago

fixed in commit 6eca212