quiet -Wmaybe-uninitialized
authorLouis Brandy <ldbrandy@fb.com>
Thu, 3 Nov 2016 17:35:18 +0000 (10:35 -0700)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Thu, 3 Nov 2016 17:38:39 +0000 (10:38 -0700)
commit60ebafb4f8900eafdbca3c06d6a61a4ec034736f
tree6075608e19dcfc88edf55ed4ddd638eb300d31df
parent0ca4107747f66a294864eed84578bcc32c2f9762
quiet -Wmaybe-uninitialized

Summary: gcc-4.9 doesn't appreciate this clever loop and worries about `prev` being uninitialized on first use. Assuming the rest of the program behaves properly and preserves the invariant this code is expecting, this isn't bugged. But let's initialize it anyway.

Reviewed By: meyering

Differential Revision: D4120746

fbshipit-source-id: 1a7c323a4b6296a81768a62dd7d72337c5c35bf0
folly/stats/MultiLevelTimeSeries-defs.h