commit | ddbc481cd407453bfa5aa8713ecb6381a110f13b | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Tue Apr 13 21:18:02 2021 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Thu Apr 15 08:00:36 2021 +0200 |
tree | a9e93b495758ec90bc2bfeaf273b2da7b88da333 | |
parent | 0a5a3320f2ffd962f0a6a59f459ea0e4a6edabef [diff] |
libyang MAINTENANCE code formatting
diff --git a/src/context.c b/src/context.c index 4b59507..33d3f17 100644 --- a/src/context.c +++ b/src/context.c
@@ -475,6 +475,7 @@ ly_ctx_set_options(struct ly_ctx *ctx, uint16_t option) { LY_ERR lyrc; + LY_CHECK_ARG_RET(ctx, ctx, LY_EINVAL); LY_CHECK_ERR_RET(option & LY_CTX_NO_YANGLIBRARY, LOGARG(ctx, option), LY_EINVAL); lyrc = LY_SUCCESS;