-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[core] linux warning fixes #1927
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
namespace{ | ||
namespace | ||
{ | ||
#if 0 // TODO: Can we remove this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if]
#if 0 // TODO: Can we remove this?
^
namespace{ | ||
namespace | ||
{ | ||
#if 0 // TODO: Can we remove this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, can be removed
Description
Integrated and reordered all config/builder/attributes header in CMakeList.txt
Fixed some minor warnings for linux platform:
File: ecal_log_provider.cpp
m_attributes
is initialized afterm_created
.File: ecal_log_provider.cpp
isDirectory
is defined but not used.File: ecal_log_receiver.cpp
m_attributes
is initialized afterm_created
.File: ecal_subscriber_impl.cpp
m_attributes
is initialized afterm_receive_time
.File: ecal_service_server_impl.cpp
m_created
is initialized afterm_service_name
.