mdbx: fix minor defects (coverity).

Change-Id: I1a5b0788a87ab2a138b342140648642fd5855ae3
This commit is contained in:
Leo Yuriev
2017-07-04 13:06:32 +03:00
parent 66f8327642
commit 14484a6f32
2 changed files with 6 additions and 2 deletions

View File

@@ -549,7 +549,7 @@ int mdbx_write(mdbx_filehandle_t fd, const void *buf, size_t bytes) {
sigset_t set, old;
sigemptyset(&set);
sigaddset(&set, SIGPIPE);
int rc = rc = pthread_sigmask(SIG_BLOCK, &set, &old);
int rc = pthread_sigmask(SIG_BLOCK, &set, &old);
if (rc != 0)
return rc;
#endif