Commit 4cf22c31f7ac2907540e4b934a7381a47230c3c4

Authored by Stéphane Raimbault
1 parent d457ea86

Minor

- Two statements on the same line
Showing 1 changed file with 2 additions and 1 deletions
modbus/modbus.c
@@ -595,7 +595,8 @@ static int modbus_check_response(modbus_param_t *mb_param, @@ -595,7 +595,8 @@ static int modbus_check_response(modbus_param_t *mb_param,
595 uint8_t *response) 595 uint8_t *response)
596 { 596 {
597 int response_size; 597 int response_size;
598 - int response_size_computed; int offset = mb_param->header_length; 598 + int response_size_computed;
  599 + int offset = mb_param->header_length;
599 int ret; 600 int ret;
600 601
601 response_size_computed = compute_response_size(mb_param, query); 602 response_size_computed = compute_response_size(mb_param, query);