-
Notifications
You must be signed in to change notification settings - Fork 244
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
fix bugs to allow build with gcc 7.2.0 under Ubuntu 17.10 #1851
Conversation
@@ -1768,7 +1768,7 @@ void PolicyHandler::OnCertificateUpdated(const std::string& certificate_data) { | |||
void PolicyHandler::OnPTUFinished(const bool ptu_result) { | |||
LOG4CXX_AUTO_TRACE(logger_); | |||
sync_primitives::AutoLock lock(listeners_lock_); | |||
HandlersCollection::const_iterator it = listeners_.begin(); | |||
// HandlersCollection::const_iterator it = listeners_.begin(); |
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.
@asanoaozora please remove unused code. Do not leave it commented.
Done, rebuilt, launch the core and the html page successfully, except these messages size inconsistency (?) |
Apply this pull request. smartdevicelink/sdl_core#1851 Signed-off-by: Phong Tran <tranmanphong@gmail.com>
Can one of the admins verify this patch? |
@asanoaozora Please sign the CLA and mark it as complete. Also, please reference an issue that this change fixes (I don't know where you got #3 from, but it needs to be an issue within this repository), it looks like this may resolve #1495 |
Closing in favor of #2097 |
Fixes #[3]
This PR is [ready] for review.
Risk
This PR makes [no] API changes.
Testing Plan
[After successful built, /.start.sh and chromium-browser index.html, the html page displayed]
Summary
[To build it under Ubuntu with gcc 7.2.1, somes fix have been necessary to apply]
Changelog
Breaking Changes
Enhancements
Bug Fixes
*[enum returned in a bool->replaced by false]
*[unused but set variable -> commented]
Tasks Remaining:
CLA