diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2012-06-04 17:05:36 +1000 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2012-06-04 17:05:36 +1000 |
commit | 953b622700125746202c116452638e0181db9165 (patch) | |
tree | bc03d820966af3cc87a2181137df6374ab7faacc /src/config/config.c | |
parent | d20711f22bad7fcd401367977d883cd1bba9c017 (diff) | |
parent | 97cb94c0ccdf8e4554e4b233271f9ba219fee811 (diff) | |
download | mongo-953b622700125746202c116452638e0181db9165.tar.gz |
Merge branch 'develop'
Diffstat (limited to 'src/config/config.c')
-rw-r--r-- | src/config/config.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/config/config.c b/src/config/config.c index 1d5a3d2ab1c..1c49c90d0de 100644 --- a/src/config/config.c +++ b/src/config/config.c @@ -403,7 +403,7 @@ __process_value(WT_CONFIG *conf, WT_CONFIG_ITEM *value) if (value->type == ITEM_NUM && errno == ERANGE) return ( __config_err(conf, "Number out of range", ERANGE)); -} + } return (0); } @@ -555,7 +555,8 @@ __wt_config_getraw( WT_CONFIG *cparser, WT_CONFIG_ITEM *key, WT_CONFIG_ITEM *value) { WT_CONFIG_ITEM k, v; - int found, ret; + WT_DECL_RET; + int found; found = 0; while ((ret = __wt_config_next(cparser, &k, &v)) == 0) { @@ -580,7 +581,8 @@ __wt_config_get(WT_SESSION_IMPL *session, const char **cfg, WT_CONFIG_ITEM *key, WT_CONFIG_ITEM *value) { WT_CONFIG cparser; - int found, ret; + WT_DECL_RET; + int found; for (found = 0; *cfg != NULL; cfg++) { WT_RET(__wt_config_init(session, &cparser, *cfg)); |