summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-08-26 08:47:13 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-08-26 08:47:13 -0400
commit12044d22cce1a79804254ac9c80b1120701bd7c8 (patch)
treed8fdfb654b4b6b42c5b271761861b165e904150e /ext
parent0d1129df17947036b2ef9e269b7dcdbc813d9ced (diff)
downloadmongo-12044d22cce1a79804254ac9c80b1120701bd7c8.tar.gz
s_all run of: "style.py" resulted in:
../ext/encryptors/rotn/rotn_encrypt.c:421: missing comment for rotn_configure ext/encryptors/rotn/rotn_encrypt.c 99 Warning 534: Ignoring return value of function '__wt_extension_api::err_printf' (compare with line 105, file src/include/wiredtiger_ext.h)
Diffstat (limited to 'ext')
-rw-r--r--ext/encryptors/rotn/rotn_encrypt.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/ext/encryptors/rotn/rotn_encrypt.c b/ext/encryptors/rotn/rotn_encrypt.c
index 372f8c6356b..7d68717e3ca 100644
--- a/ext/encryptors/rotn/rotn_encrypt.c
+++ b/ext/encryptors/rotn/rotn_encrypt.c
@@ -95,8 +95,8 @@ rotn_error(ROTN_ENCRYPTOR *encryptor, WT_SESSION *session, int err,
WT_EXTENSION_API *wtext;
wtext = encryptor->wtext;
- wtext->err_printf(wtext, session, "rotn encryption: %s: %s",
- msg, wtext->strerror(wtext, NULL, err));
+ (void)wtext->err_printf(wtext, session,
+ "rotn encryption: %s: %s", msg, wtext->strerror(wtext, NULL, err));
return (err);
}
@@ -418,6 +418,10 @@ rotn_terminate(WT_ENCRYPTOR *encryptor, WT_SESSION *session)
}
/*! [WT_ENCRYPTOR terminate] */
+/*
+ * rotn_configure --
+ * WiredTiger no-op encryption configuration.
+ */
static int
rotn_configure(ROTN_ENCRYPTOR *rotn_encryptor, WT_CONFIG_ARG *config)
{