diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2011-11-21 23:20:41 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2011-11-21 23:20:41 +1100 |
commit | 6aad593448c006aa8e258b2b5829b6409849b8ff (patch) | |
tree | b3012b933e609b767e8f15fab59e9754a94979f3 /dist/s_define | |
parent | 9595b85d7b5c6d58f9025204256d70d99cefaf0c (diff) | |
download | mongo-6aad593448c006aa8e258b2b5829b6409849b8ff.tar.gz |
Suppress a warning about an unused WT_STAT macro.
Diffstat (limited to 'dist/s_define')
-rw-r--r-- | dist/s_define | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dist/s_define b/dist/s_define index 7d3f690d74b..72760f4b05f 100644 --- a/dist/s_define +++ b/dist/s_define @@ -31,9 +31,9 @@ fgrep -who "$search" $l # Second, we don't use the "WT_STAT_" prefix when we call a stat macro, the stat # macro handles that for us, so we have to remove that prefix before searching. # -# The special cases listed below are because the INCR, INCRV, and SET #defines -# are in stat.h, but shouldn't have the leading WT_STAT prefix stripped. They -# are heavily used, so just delete them from the search. +# The special cases listed below are because the INCR, INCRV, SET and WT_STAT +# #defines are in stat.h, but shouldn't have the leading WT_STAT prefix +# stripped. They are heavily used, so just delete them from the search. l=`echo $l | sed -e 's,\.\./support/stat.c,,'` @@ -42,6 +42,7 @@ search=`cat ../src/include/stat.h | egrep '^#define' | -e '/^WT_STAT_INCR$/d' \ -e '/^WT_STAT_INCRV$/d' \ -e '/^WT_STAT_SET$/d' \ + -e '/^WT_STAT$/d' \ -e 's/WT_STAT_//' | sort -u` |