aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/test/global_SUITE.erl
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-11-28 15:58:51 +0100
committerBjörn Gustavsson <[email protected]>2011-11-29 09:31:18 +0100
commit531fd80c80e5fd6d7f649515e97ea5a68d8e6f9b (patch)
tree157406d9a507f588f3dbaebb3fad980e13e66536 /lib/kernel/test/global_SUITE.erl
parent1bda8629057d4c2eff130077171dec67b4d2f51d (diff)
downloadotp-531fd80c80e5fd6d7f649515e97ea5a68d8e6f9b.tar.gz
otp-531fd80c80e5fd6d7f649515e97ea5a68d8e6f9b.tar.bz2
otp-531fd80c80e5fd6d7f649515e97ea5a68d8e6f9b.zip
erl_process.c: Remove the redundant variable 'processes_busy'
There is a static variable called 'processes_busy' in erl_process.c, which will be incremented but never used. To confuse things, there is also a global variable with the same name, but it it is only defined and used if BM_COUNTERS is defined. In erl_process.c, the global version of 'processes_busy' will be seen and incremented if BM_COUNTERS is defined. Remove the static version of 'processes_busy' in erl_process.c, but keep the global version if BM_COUNTERS is defined. Noticed-by: Jovi Zhang
Diffstat (limited to 'lib/kernel/test/global_SUITE.erl')
0 files changed, 0 insertions, 0 deletions