summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--log/logd.c2
-rw-r--r--validate/cli.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/log/logd.c b/log/logd.c
index 07aee2b..9b481cd 100644
--- a/log/logd.c
+++ b/log/logd.c
@@ -84,7 +84,7 @@ read_log(struct ubus_context *ctx, struct ubus_object *obj,
struct blob_attr *msg)
{
struct client *cl;
- struct blob_attr *tb[__READ_MAX] = { 0 };
+ struct blob_attr *tb[__READ_MAX] = {};
struct log_head *l;
int count = 0;
int fds[2];
diff --git a/validate/cli.c b/validate/cli.c
index f03c8a1..1fc7b08 100644
--- a/validate/cli.c
+++ b/validate/cli.c
@@ -175,7 +175,7 @@ static int
validate_option(struct uci_context *ctx, char *package, char *section, char *option)
{
char *opt, *expr, *def;
- struct uci_ptr ptr = { 0 };
+ struct uci_ptr ptr = {};
if (!parse_tuple(option, &opt, &expr, &def))
{