projects
/
folly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edf5c73
)
Fix Build: address some maybe-uninitialized warnings in folly/io/async/EventBase.cpp
author
Yedidya Feldblum
<yfeldblum@fb.com>
Wed, 14 Oct 2015 00:28:55 +0000
(17:28 -0700)
committer
facebook-github-bot-1
<folly-bot@fb.com>
Wed, 14 Oct 2015 01:20:19 +0000
(18:20 -0700)
Summary: [Folly] Fix Build: address some `maybe-uninitialized` warnings in `folly/io/async/EventBase.cpp`.
Reviewed By: @meyering
Differential Revision:
D2535753
fb-gh-sync-id:
ff32f6957675d3b6d0267b1a59fb0c3aac4fe86e
folly/io/async/EventBase.cpp
patch
|
blob
|
history
diff --git
a/folly/io/async/EventBase.cpp
b/folly/io/async/EventBase.cpp
index b3a12a4af133556bc816ad870dd2b07fef155e9d..2ec1e90dcc5861e3a1a3a56363d1dff8b250c105 100644
(file)
--- a/
folly/io/async/EventBase.cpp
+++ b/
folly/io/async/EventBase.cpp
@@
-312,7
+312,7
@@
bool EventBase::loopBody(int flags) {
// time-measurement variables.
std::chrono::steady_clock::time_point prev;
- int64_t idleStart;
+ int64_t idleStart
= 0
;
int64_t busy;
int64_t idle;