diff options
author | Christopher Wiley <wiley@google.com> | 2015-12-29 15:16:44 +0000 |
---|---|---|
committer | Christopher Wiley <wiley@google.com> | 2015-12-29 15:16:44 +0000 |
commit | 88ee374b55dcee26c0712f33ed88dde272225ff9 (patch) | |
tree | 0d0d0b6f5a54634cd75a31f2cfa85c1540328522 /components | |
parent | b636ff6a8ac3b54b3067289f01848252ab71eceb (diff) | |
download | libchrome-88ee374b55dcee26c0712f33ed88dde272225ff9.tar.gz |
Revert "Fix compiler warnings in libchrome"
This reverts commit b636ff6a8ac3b54b3067289f01848252ab71eceb.
This broke trunk with messages like:
In file included from external/libchrome/base/time/time_posix.cc:29:0:
external/libchrome/base/lazy_instance.h:51:36: error: missing initializer for member 'base::LazyInstance<base::Lock, base::internal::LeakyLazyInstanceTraits<base::Lock> >::private_instance_' [-Werror=missing-field-initializers]
#define LAZY_INSTANCE_INITIALIZER {}
^
external/libchrome/base/time/time_posix.cc:39:38: note: in expansion of macro 'LAZY_INSTANCE_INITIALIZER'
g_sys_time_to_time_struct_lock = LAZY_INSTANCE_INITIALIZER;
^
external/libchrome/base/lazy_instance.h:51:36: error: missing initializer for member 'base::LazyInstance<base::Lock, base::internal::LeakyLazyInstanceTraits<base::Lock> >::private_buf_' [-Werror=missing-field-initializers]
#define LAZY_INSTANCE_INITIALIZER {}
^
external/libchrome/base/time/time_posix.cc:39:38: note: in expansion of macro 'LAZY_INSTANCE_INITIALIZER'
g_sys_time_to_time_struct_lock = LAZY_INSTANCE_INITIALIZER;
^
cc1plus: all warnings being treated as errors
Change-Id: I0c0308e716bd1ed7914e2a032e439a9261d38e56
Diffstat (limited to 'components')
-rw-r--r-- | components/timers/alarm_timer_chromeos.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/timers/alarm_timer_chromeos.cc b/components/timers/alarm_timer_chromeos.cc index 6c38b4c2ff..341818a60d 100644 --- a/components/timers/alarm_timer_chromeos.cc +++ b/components/timers/alarm_timer_chromeos.cc @@ -250,7 +250,7 @@ void AlarmTimer::Delegate::OnFileCanReadWithoutBlocking(int fd) { } } -void AlarmTimer::Delegate::OnFileCanWriteWithoutBlocking(int /* fd */) { +void AlarmTimer::Delegate::OnFileCanWriteWithoutBlocking(int fd) { NOTREACHED(); } |