diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-26 01:21:10 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-26 01:21:10 -0700 |
commit | 0bc644abf06d1cf903ed7bf59302894f80d18971 (patch) | |
tree | da229cd4505d34800af22e10c8f61d380d6a88b3 /iothread.cpp | |
parent | 31b7d076b7bff8d7bb81e6a1fff58755b7baa10b (diff) |
Fix lots of bugs related to the static analyzer
Improved how screen.cpp interacts with output_set_writer()
Diffstat (limited to 'iothread.cpp')
-rw-r--r-- | iothread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iothread.cpp b/iothread.cpp index 6b61b442..7c6132c3 100644 --- a/iothread.cpp +++ b/iothread.cpp @@ -202,9 +202,9 @@ void iothread_drain_all(void) { ASSERT_IS_NOT_FORKED_CHILD(); if (s_active_thread_count == 0) return; - int thread_count = s_active_thread_count; #define TIME_DRAIN 0 #if TIME_DRAIN + int thread_count = s_active_thread_count; double now = timef(); #endif while (s_active_thread_count > 0) { |