summaryrefslogtreecommitdiff
path: root/dist/stat.py
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2009-09-08 23:39:50 +1000
committerKeith Bostic <keith@wiredtiger.com>2009-09-08 23:39:50 +1000
commit1029bbf349f26b30b75a40898e6ec036abf4f23b (patch)
tree5004acd6ec610467ce20398608d8fe5dbeb75ee6 /dist/stat.py
parent144cede55e4f03390c18a5024c2ffce1ebb4bca1 (diff)
downloadmongo-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.py4
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: