diff options
author | Keith Bostic <keith.bostic@mongodb.com> | 2016-11-11 09:18:33 -0500 |
---|---|---|
committer | sueloverso <sue@mongodb.com> | 2016-11-11 09:18:33 -0500 |
commit | 0b0b0a9651bf789cc6744073a3f31bf2701053dc (patch) | |
tree | e1ff86f71047c6a275c8d0b1b93f467db360c324 /test/recovery/random-abort.c | |
parent | dc2d7aa2d1f5756bdf522168fc056824543eb067 (diff) | |
download | mongo-0b0b0a9651bf789cc6744073a3f31bf2701053dc.tar.gz |
WT-3018 lint (#3142)
* WT-3018 lint
clang version 3.4.1
random-abort.c:37:6: error: no previous extern declaration for
non-static variable 'inmem' [-Werror,-Wmissing-variable-declarations]
* Clean up WT_UNUSED() macro uses, where we do use the variable.
* Back out part of 6028ca3, the #ifdef'd code has variable declarations
and ISO C90 forbids mixed declarations and code.
Diffstat (limited to 'test/recovery/random-abort.c')
-rw-r--r-- | test/recovery/random-abort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/recovery/random-abort.c b/test/recovery/random-abort.c index 21460646017..c407361c7eb 100644 --- a/test/recovery/random-abort.c +++ b/test/recovery/random-abort.c @@ -34,7 +34,7 @@ static char home[512]; /* Program working dir */ static const char *progname; /* Program name */ static const char * const uri = "table:main"; -bool inmem; +static bool inmem; #define MAX_TH 12 #define MIN_TH 5 |