ubox: Replace { 0 } with {}.
[project/ubox.git] / validate / cli.c
index f03c8a16f38dfb276e1633b5d1a21da876ebad59..1fc7b08f8185d86743ddc9cbf1b21139f9980b58 100644 (file)
@@ -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))
        {