From 2ec034633b2b97c3534b053ce9914d774510db0e Mon Sep 17 00:00:00 2001 From: Hans-Erik Floryd Date: Mon, 22 Dec 2025 15:03:37 +0100 Subject: [PATCH] fix: remove unnecessary call to strcat The strcat call is no longer needed after commit 0c291d4f9 which refactored the output. Change-Id: I580295a9eed63bb3656e32e1033c153187a58251 --- samples/slaveinfo/slaveinfo.c | 1 - 1 file changed, 1 deletion(-) diff --git a/samples/slaveinfo/slaveinfo.c b/samples/slaveinfo/slaveinfo.c index e5f57fb..cf91178 100644 --- a/samples/slaveinfo/slaveinfo.c +++ b/samples/slaveinfo/slaveinfo.c @@ -235,7 +235,6 @@ char *SDO2string(uint16 slave, uint16 index, uint8 subidx, uint16 dtype) break; case ECT_VISIBLE_STRING: snprintf(str, sizeof(str), "\"%s\"", usdo); - strcat(str, "\""); break; case ECT_OCTET_STRING: p = str;