Commit 26dd610ba21acbf2cbf52152889c4a5470d1e0f0
Committed by
Stéphane Raimbault
1 parent
22d4fffe
Remove a duplicated semi-colon
Found with the help of clang-format (from another branch)
Showing
1 changed file
with
1 additions
and
1 deletions
src/modbus.c
| @@ -1021,7 +1021,7 @@ int modbus_reply_exception(modbus_t *ctx, const uint8_t *req, | @@ -1021,7 +1021,7 @@ int modbus_reply_exception(modbus_t *ctx, const uint8_t *req, | ||
| 1021 | function = req[offset]; | 1021 | function = req[offset]; |
| 1022 | 1022 | ||
| 1023 | sft.slave = slave; | 1023 | sft.slave = slave; |
| 1024 | - sft.function = function + 0x80;; | 1024 | + sft.function = function + 0x80; |
| 1025 | sft.t_id = ctx->backend->prepare_response_tid(req, &dummy_length); | 1025 | sft.t_id = ctx->backend->prepare_response_tid(req, &dummy_length); |
| 1026 | rsp_length = ctx->backend->build_response_basis(&sft, rsp); | 1026 | rsp_length = ctx->backend->build_response_basis(&sft, rsp); |
| 1027 | 1027 |