Skip to content

Commit 1dcef13

Browse files
committed
plugins types REFACTOR false-positive uninit var warning
1 parent 8ee22a3 commit 1dcef13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins_types.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ lyplg_type_lypath_new(const struct ly_ctx *ctx, const char *value, size_t value_
812812
struct lyxp_expr *exp = NULL;
813813
uint32_t prefix_opt = 0;
814814
struct ly_err_item *e;
815-
const char *err_fmt;
815+
const char *err_fmt = NULL;
816816

817817
LY_CHECK_ARG_RET(ctx, ctx, value, ctx_node, path, err, LY_EINVAL);
818818

0 commit comments

Comments
 (0)