diff options
author | Nay <dnpd.dd@gmail.com> | 2013-08-26 02:00:18 +0100 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2013-08-26 02:00:18 +0100 |
commit | 8eaf7632355cfabdc919c7b42953c8c72f1f8015 (patch) | |
tree | 532fc5c9baccbc5c3681bb36dd6477a33857965f /src/server/shared/Threading/Threading.cpp | |
parent | a4fcbd1a36cd4e8c5e36a35cecf6f06a6c87e611 (diff) |
Core&Tools: Fix multiple issues found by a static code coverage tool
Diffstat (limited to 'src/server/shared/Threading/Threading.cpp')
-rw-r--r-- | src/server/shared/Threading/Threading.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/shared/Threading/Threading.cpp b/src/server/shared/Threading/Threading.cpp index 34a7bf8bb9d..1ed29d5106a 100644 --- a/src/server/shared/Threading/Threading.cpp +++ b/src/server/shared/Threading/Threading.cpp @@ -59,10 +59,10 @@ ThreadPriority::ThreadPriority() } } - //since we have only 7(seven) values in enum Priority - //and 3 we know already (Idle, Normal, Realtime) so - //we need to split each list [Idle...Normal] and [Normal...Realtime] - //into piecies + // since we have only 7(seven) values in enum Priority + // and 3 we know already (Idle, Normal, Realtime) so + // we need to split each list [Idle...Normal] and [Normal...Realtime] + // into pieces const size_t _divider = 4; size_t _div = (norm_pos - min_pos) / _divider; if (_div == 0) |