diff options
author | Darian Biastoch <dbiastoch@de.adit-jv.com> | 2021-08-03 16:40:45 +0200 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2021-10-05 11:19:26 +0900 |
commit | daf4247d8cf7570b7541e34af4bd93454e5bb550 (patch) | |
tree | 2c83112559b23c206fd7e939f3a64852b541d44c /LICENSE | |
parent | b90a2b3d7cfe4d32dcd142c3591cde5655be60ae (diff) | |
download | DLT-daemon-daf4247d8cf7570b7541e34af4bd93454e5bb550.tar.gz |
remove clang-tidy analyzer warnings: incompatible pointer type
Removed duplicate "payload" pointer in dlt_client_send functions inside dlt_client.c.
This pointer was only needed to avoid one cast within a function call.
Now this cast is performed to get rid of clang-tidy analyzer warnings.
In addition to that, malloc calls were replaced through calloc to avoid a subsequent
memset with zero.
Signed-off-by: Darian Biastoch <dbiastoch@de.adit-jv.com>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions