Closed smalik007 closed 3 years ago
`/usr/local/include/nadjieb/mjpeg_streamer.hpp: In lambda function: /usr/local/include/nadjieb/mjpeg_streamer.hpp:286:62: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] ::read(new_socket, &buff[0], buff.size()); ^ /usr/local/include/nadjieb/mjpeg_streamer.hpp:292:95: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] ::write(new_socket, shutdown_res_str.c_str(), shutdown_res_str.size()); ^ /usr/local/include/nadjieb/mjpeg_streamer.hpp:304:115: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] ::write(new_socket, method_not_allowed_res_str.c_str(), method_not_allowed_res_str.size()); ^ /usr/local/include/nadjieb/mjpeg_streamer.hpp:309:83: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] ::write(new_socket, init_res_str.c_str(), init_res_str.size());`