Skip to content

Commit

Permalink
Added initialization to a debug-tracing variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikołaj Małecki authored and rndi committed Nov 7, 2019
1 parent 94e1ac6 commit be1b304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srtcore/epoll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ int CEPoll::wait(const int eid, set<SRTSOCKET>* readfds, set<SRTSOCKET>* writefd
throw CUDTException(MJ_NOTSUP, MN_INVAL);
}

IF_HEAVY_LOGGING(int total_noticed);
IF_HEAVY_LOGGING(int total_noticed = 0);
IF_HEAVY_LOGGING(ostringstream debug_sockets);
// Sockets with exceptions are returned to both read and write sets.
for (CEPollDesc::enotice_t::iterator it = ed.enotice_begin(), it_next = it; it != ed.enotice_end(); it = it_next)
Expand Down

0 comments on commit be1b304

Please sign in to comment.