1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[initialization] {0}; -> {};

Current compilers have no problems with this.
This commit is contained in:
Witold Filipczyk 2022-01-15 20:30:29 +01:00
parent b434b11309
commit 75a0b14748

View File

@ -133,7 +133,7 @@ void done_state_message(void);
static inline struct connection_state
connection_state(enum connection_basic_state basic)
{
struct connection_state state = {0};
struct connection_state state = {};
assert(basic != S_ERRNO);
if_assert_failed basic = S_INTERNAL;
@ -145,7 +145,7 @@ connection_state(enum connection_basic_state basic)
static inline struct connection_state
connection_state_for_errno(int syserr)
{
struct connection_state state = {0};
struct connection_state state = {};
/* read_encoded_file() can pass syserr==0 here, so don't
* assert otherwise. */