search for: shut_timeout

Displaying 1 result from an estimated 1 matches for "shut_timeout".

Did you mean: set_timeout
2011 Oct 03
0
patch: Fix [-Wunused-but-set-variable]
...+0300 @@ -678,7 +678,6 @@ int shut_packet_recv(int upsfd, u_char * u_short Pos=0; u_char Retry=0; int recv; - shut_data_t sdata; upsdebugx (4, "entering shut_packet_recv (%i)", datalen); @@ -687,7 +686,6 @@ int shut_packet_recv(int upsfd, u_char * /* if(serial_read (SHUT_TIMEOUT, &Start[0]) > 0) */ if(ser_get_char(upsfd, &Start[0], SHUT_TIMEOUT/1000, 0) > 0) { - sdata.shut_pkt.bType = Start[0]; if(Start[0]==SHUT_SYNC) { upsdebugx (4, "received SYNC token"); @@ -702,7 +700,6 @@ int shut_packet_recv(int upsfd, u_char * {...