diff options
author | Phong Tran <tranmanphong@gmail.com> | 2018-03-29 13:51:29 +0700 |
---|---|---|
committer | ManikandanChockalingam <manikandan.chockalingam@in.bosch.com> | 2018-03-29 12:21:29 +0530 |
commit | 90c8b5b2890a227088b5a67a21bdc24028b156d5 (patch) | |
tree | eb8fea77da9090e94ada870fa8519ce479e18e58 /doc/images/eclipse-project-props-4.png | |
parent | b3b7f98bff66d8235474f68004f7b767835b8e3e (diff) | |
download | DLT-daemon-90c8b5b2890a227088b5a67a21bdc24028b156d5.tar.gz |
minor compiler warning gcc 7.x (#30)
* Fix -Wpointer-compare of compare with null char
Signed-off-by: Phong Tran <tranmanphong@gmail.com>
* dlt_common: fix -Wformat-truncation of snprintf
Avoid snprintf output truncation by handling return value
Signed-off-by: Phong Tran <tranmanphong@gmail.com>
* dlt_offline_trace: Fix Wformat-truncation of snprintf
Compile with Gcc 7.x has the warning of snprintf buffer length size.
Check return value of snprintf() for avoiding the warning.
Signed-off-by: Phong Tran <tranmanphong@gmail.com>
* dlt_common_test: Fix memleak t_dlt_message_read
some resources were not free after using.
Detected by running
valgrind --leak-check=full ./gtest_dlt_common
Signed-off-by: Phong Tran <tranmanphong@gmail.com>
Diffstat (limited to 'doc/images/eclipse-project-props-4.png')
0 files changed, 0 insertions, 0 deletions