diff options
author | Keith Bostic <keith@wiredtiger.com> | 2009-09-08 23:39:50 +1000 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2009-09-08 23:39:50 +1000 |
commit | 1029bbf349f26b30b75a40898e6ec036abf4f23b (patch) | |
tree | 5004acd6ec610467ce20398608d8fe5dbeb75ee6 /dist/stat.py | |
parent | 144cede55e4f03390c18a5024c2ffce1ebb4bca1 (diff) | |
download | mongo-1029bbf349f26b30b75a40898e6ec036abf4f23b.tar.gz |
The WT_ERR, WT_RET and WT_TRET macros don't need an extra level of parenthesis
at the moment.
--HG--
branch : keith
Diffstat (limited to 'dist/stat.py')
-rw-r--r-- | dist/stat.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/stat.py b/dist/stat.py index 89add2ee6a1..fbd70cfcfbd 100644 --- a/dist/stat.py +++ b/dist/stat.py @@ -71,9 +71,9 @@ for d in sorted(stats.iteritems()): f.write('__wt_stat_alloc_' + d[0] + '(ENV *env, WT_STATS **statsp)\n') f.write('{\n') f.write('\tWT_STATS *stats;\n\n') - f.write('\tWT_RET((__wt_calloc(env,\n') + f.write('\tWT_RET(__wt_calloc(env,\n') f.write('\t WT_STAT_' + d[0].upper() +\ - '_TOTAL + 1, sizeof(WT_STATS), &stats)));\n\n') + '_TOTAL + 1, sizeof(WT_STATS), &stats));\n\n') for l in sorted(d[1]): o = '\tstats[WT_STAT_' + l[0] + '].desc = ' + l[1] + ';\n' if len(o) + 7 > 80: |