Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
b922a5a0
Commit
b922a5a0
authored
Sep 03, 2016
by
Hallvard Furuseth
Browse files
Silence warning for initializer "mdb_copy my = {0}"
1st struct member was not a scalar.
parent
14ca1603
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblmdb/mdb.c
View file @
b922a5a0
...
...
@@ -8824,12 +8824,12 @@ mdb_put(MDB_txn *txn, MDB_dbi dbi,
/** State needed for a double-buffering compacting copy. */
typedef
struct
mdb_copy
{
MDB_env
*
mc_env
;
MDB_txn
*
mc_txn
;
pthread_mutex_t
mc_mutex
;
pthread_cond_t
mc_cond
;
/**< Condition variable for #mc_new */
char
*
mc_wbuf
[
2
];
char
*
mc_over
[
2
];
MDB_env
*
mc_env
;
MDB_txn
*
mc_txn
;
int
mc_wlen
[
2
];
int
mc_olen
[
2
];
pgno_t
mc_next_pgno
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment