diff options
| author | Giel van Schijndel <[email protected]> | 2011-08-11 13:41:01 +0200 |
|---|---|---|
| committer | Giel van Schijndel <[email protected]> | 2011-08-19 07:24:37 +0200 |
| commit | 99860de3c9b5809110538e1ab2d4e216d77b5aaf (patch) | |
| tree | 35579db7032a75646495548859b50495ba656ca6 /src/protocol.cpp | |
| parent | Compile with DEBUG_LOCKORDER to detect inconsistent lock orderings that can c... (diff) | |
| download | discoin-99860de3c9b5809110538e1ab2d4e216d77b5aaf.tar.xz discoin-99860de3c9b5809110538e1ab2d4e216d77b5aaf.zip | |
Make some global variables less-global (static)
Explicitly make these global variables less-global to reduce the maximum
scope of this global state.
In my experience global variables tend to be a major source of bugs. As
such the less accessible they are the less likely they are to be the
source of a bug.
Signed-off-by: Giel van Schijndel <[email protected]>
Diffstat (limited to 'src/protocol.cpp')
0 files changed, 0 insertions, 0 deletions