mirror of
https://github.com/OpenEtherCATsociety/SOEM.git
synced 2026-03-23 15:52:34 +08:00
fix: remove unnecessary call to strcat
The strcat call is no longer needed after commit 0c291d4f9 which
refactored the output.
Change-Id: I580295a9eed63bb3656e32e1033c153187a58251
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user