Quel compiler warnings.
This commit is contained in:
parent
5af4f8e7a1
commit
e0ea7f2504
3 changed files with 8 additions and 1 deletions
|
@ -10671,6 +10671,7 @@ int mdb_set_relctx(MDB_txn *txn, MDB_dbi dbi, void *ctx)
|
|||
int ESECT
|
||||
mdb_env_get_maxkeysize(MDB_env *env)
|
||||
{
|
||||
env = env;
|
||||
return ENV_MAXKEY(env);
|
||||
}
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@ static ERL_NIF_TERM ATOM_TXN_NOT_STARTED;
|
|||
static ERL_NIF_TERM
|
||||
__strerror_term(ErlNifEnv* env, int err)
|
||||
{
|
||||
ERL_NIF_TERM term;
|
||||
ERL_NIF_TERM term = 0;
|
||||
|
||||
if (err < MDB_LAST_ERRCODE && err > MDB_KEYEXIST) {
|
||||
switch (err) {
|
||||
|
|
6
tools/update-mdb
Executable file
6
tools/update-mdb
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
for file in lmdb.h mdb.c midl.h midl.c; do
|
||||
curl -O https://raw.githubusercontent.com/LMDB/lmdb/mdb.master/libraries/liblmdb/$file
|
||||
done
|
||||
|
Loading…
Reference in a new issue