mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 07:39:35 -05:00
Silence warning for initializer "mdb_copy my = {0}"
1st struct member was not a scalar.
This commit is contained in:
parent
14ca16034a
commit
b922a5a086
1 changed files with 2 additions and 2 deletions
|
|
@ -8824,12 +8824,12 @@ mdb_put(MDB_txn *txn, MDB_dbi dbi,
|
||||||
|
|
||||||
/** State needed for a double-buffering compacting copy. */
|
/** State needed for a double-buffering compacting copy. */
|
||||||
typedef struct mdb_copy {
|
typedef struct mdb_copy {
|
||||||
|
MDB_env *mc_env;
|
||||||
|
MDB_txn *mc_txn;
|
||||||
pthread_mutex_t mc_mutex;
|
pthread_mutex_t mc_mutex;
|
||||||
pthread_cond_t mc_cond; /**< Condition variable for #mc_new */
|
pthread_cond_t mc_cond; /**< Condition variable for #mc_new */
|
||||||
char *mc_wbuf[2];
|
char *mc_wbuf[2];
|
||||||
char *mc_over[2];
|
char *mc_over[2];
|
||||||
MDB_env *mc_env;
|
|
||||||
MDB_txn *mc_txn;
|
|
||||||
int mc_wlen[2];
|
int mc_wlen[2];
|
||||||
int mc_olen[2];
|
int mc_olen[2];
|
||||||
pgno_t mc_next_pgno;
|
pgno_t mc_next_pgno;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue