1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

common, g10: Fix indentation to silence GCC-6.

* common/iobuf.c (iobuf_ioctl): Fix.
* g10/encrypt.c (encrypt_filter): Likewise.
* g10/keyring.c (prepare_search): Likewise.

--

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2016-02-15 11:05:29 +09:00
parent 6fbe12a51e
commit ea9cfcfbf7
3 changed files with 17 additions and 17 deletions

View File

@ -1515,11 +1515,11 @@ iobuf_ioctl (iobuf_t a, iobuf_ioctl_t cmd, int intval, void *ptrval)
log_debug ("iobuf-*.*: ioctl '%s' fsync\n",
ptrval? (const char*)ptrval:"<null>");
if (!a && !intval && ptrval)
{
return fd_cache_synchronize (ptrval);
}
}
if (!a && !intval && ptrval)
{
return fd_cache_synchronize (ptrval);
}
}
return -1;

View File

@ -825,18 +825,18 @@ encrypt_filter (void *opaque, int control,
if (rc)
return rc;
if(efx->symkey_s2k && efx->symkey_dek)
{
rc=write_symkey_enc(efx->symkey_s2k,efx->symkey_dek,
efx->cfx.dek,a);
if(rc)
return rc;
}
if(efx->symkey_s2k && efx->symkey_dek)
{
rc=write_symkey_enc(efx->symkey_s2k,efx->symkey_dek,
efx->cfx.dek,a);
if(rc)
return rc;
}
iobuf_push_filter (a, cipher_filter, &efx->cfx);
iobuf_push_filter (a, cipher_filter, &efx->cfx);
efx->header_okay = 1;
}
efx->header_okay = 1;
}
rc = iobuf_write (a, buf, size);
}

View File

@ -749,8 +749,8 @@ prepare_search (KEYRING_HANDLE hd)
if (!hd->current.kr) {
if (DBG_LOOKUP)
log_debug ("%s: keyring not available!\n", __func__);
hd->current.eof = 1;
return -1; /* keyring not available */
hd->current.eof = 1;
return -1; /* keyring not available */
}
assert (!hd->current.iobuf);
}