diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-23 14:39:04 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-01-23 14:39:04 +0000 |
commit | 819e0c36ebc8567836ec40be92c07b9a639cdbe3 (patch) | |
tree | 71fd5d2bfecb19cbc84572e9759020804a923df9 /cbuffer.c | |
parent | Adding upstream version 1.13. (diff) | |
download | lzlib-upstream/1.14.tar.xz lzlib-upstream/1.14.zip |
Adding upstream version 1.14.upstream/1.14
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'cbuffer.c')
-rw-r--r-- | cbuffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* Lzlib - Compression library for the lzip format - Copyright (C) 2009-2022 Antonio Diaz Diaz. + Copyright (C) 2009-2024 Antonio Diaz Diaz. This library is free software. Redistribution and use in source and binary forms, with or without modification, are permitted provided @@ -33,7 +33,7 @@ static inline bool Cb_init( struct Circular_buffer * const cb, cb->put = 0; cb->buffer = ( cb->buffer_size > 1 ) ? (uint8_t *)malloc( cb->buffer_size ) : 0; - return ( cb->buffer != 0 ); + return cb->buffer != 0; } static inline void Cb_free( struct Circular_buffer * const cb ) |