diff options
author | Phong Tran <tranmanphong@gmail.com> | 2019-06-19 22:10:43 +0700 |
---|---|---|
committer | Saya Sugiura <39760799+ssugiura@users.noreply.github.com> | 2019-06-24 17:39:20 +0900 |
commit | d6bedbc8fce89dda50dfb73c168693f9d1ccf7fb (patch) | |
tree | 467e4147ff8ba1f27ddbe4220b6b4e02360d1075 /src/console/dlt-control.c | |
parent | 392d28959dc5869eec8cee60bd5d260bf8bb0a1c (diff) | |
download | DLT-daemon-d6bedbc8fce89dda50dfb73c168693f9d1ccf7fb.tar.gz |
fix warning of self assign
use (void)xyz instead of self assign
error log:
error: explicitly assigning value of variable of type 'void *' to
itself
[-Werror,-Wself-assign]
Signed-off-by: Phong Tran <tranmanphong@gmail.com>
Diffstat (limited to 'src/console/dlt-control.c')
-rw-r--r-- | src/console/dlt-control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/dlt-control.c b/src/console/dlt-control.c index 19e4b36..f977b46 100644 --- a/src/console/dlt-control.c +++ b/src/console/dlt-control.c @@ -670,7 +670,7 @@ int dlt_receive_message_callback(DltMessage *message, void *data) return -1; /* to avoid warning */ - data = data; + (void)data; /* prepare storage header */ if (DLT_IS_HTYP_WEID(message->standardheader->htyp)) |