From 26dd610ba21acbf2cbf52152889c4a5470d1e0f0 Mon Sep 17 00:00:00 2001 From: Patrick Boettcher Date: Mon, 7 Aug 2017 11:55:38 +0200 Subject: [PATCH] Remove a duplicated semi-colon --- src/modbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modbus.c b/src/modbus.c index e59b424..a42c423 100644 --- a/src/modbus.c +++ b/src/modbus.c @@ -1021,7 +1021,7 @@ int modbus_reply_exception(modbus_t *ctx, const uint8_t *req, function = req[offset]; sft.slave = slave; - sft.function = function + 0x80;; + sft.function = function + 0x80; sft.t_id = ctx->backend->prepare_response_tid(req, &dummy_length); rsp_length = ctx->backend->build_response_basis(&sft, rsp); -- libgit2 0.21.4