1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-27 18:55:09 +03:00

journal: irrelevant coding style fixes

This commit is contained in:
Lennart Poettering 2015-10-24 15:08:15 +02:00
parent d1afbcd221
commit 0240c60369
2 changed files with 6 additions and 5 deletions

View File

@ -57,10 +57,11 @@ int compress_blob_xz(const void *src, uint64_t src_size, void *dst, size_t *dst_
#ifdef HAVE_XZ
static const lzma_options_lzma opt = {
1u << 20u, NULL, 0, LZMA_LC_DEFAULT, LZMA_LP_DEFAULT,
LZMA_PB_DEFAULT, LZMA_MODE_FAST, 128, LZMA_MF_HC3, 4};
static const lzma_filter filters[2] = {
{LZMA_FILTER_LZMA2, (lzma_options_lzma*) &opt},
{LZMA_VLI_UNKNOWN, NULL}
LZMA_PB_DEFAULT, LZMA_MODE_FAST, 128, LZMA_MF_HC3, 4
};
static const lzma_filter filters[] = {
{ LZMA_FILTER_LZMA2, (lzma_options_lzma*) &opt },
{ LZMA_VLI_UNKNOWN, NULL }
};
lzma_ret ret;
size_t out_pos = 0;

View File

@ -1057,7 +1057,7 @@ static int journal_file_append_data(
r = journal_file_find_data_object_with_hash(f, data, size, hash, &o, &p);
if (r < 0)
return r;
else if (r > 0) {
if (r > 0) {
if (ret)
*ret = o;