Fix GCC 4.9 maybe-uninitialized warning.
Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com>
This commit is contained in:
parent
143edb7460
commit
f5abc4c08d
@ -2506,7 +2506,7 @@ void
|
||||
ClientConnection::CloseNodeMonitoringEventQueue()
|
||||
{
|
||||
typedef Vector<NodeMonitoringRequest*> RequestVector;
|
||||
const RequestVector* requests;
|
||||
const RequestVector* requests = NULL;
|
||||
if (fNodeMonitoringEvents->Close(false, &requests) == B_OK) {
|
||||
for (RequestVector::ConstIterator it = requests->Begin();
|
||||
it != requests->End();
|
||||
|
Loading…
x
Reference in New Issue
Block a user