Skip to content

Commit

Permalink
netconf REFACTOR unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
michalvasko committed Mar 7, 2024
1 parent f96bd79 commit 5d7e152
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/netconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,6 @@ np2srv_rpc_discard_cb(sr_session_ctx_t *session, uint32_t UNUSED(sub_id), const
{
int rc = SR_ERR_OK;
struct np2_user_sess *user_sess = NULL;
const sr_error_info_t *err_info;

if (np_ignore_rpc(session, event, &rc)) {
/* ignore in this case */
Expand Down Expand Up @@ -742,7 +741,6 @@ np2srv_rpc_validate_cb(sr_session_ctx_t *session, uint32_t UNUSED(sub_id), const
struct ly_set *nodeset = NULL;
struct np2_user_sess *user_sess = NULL;
int rc = SR_ERR_OK;
const sr_error_info_t *err_info;

if (np_ignore_rpc(session, event, &rc)) {
/* ignore in this case */
Expand Down Expand Up @@ -894,7 +892,6 @@ np2srv_rpc_subscribe_cb(sr_session_ctx_t *session, uint32_t UNUSED(sub_id), cons
char *xp_filter = NULL;
struct timespec start = {0}, stop = {0}, cur_ts;
int rc = SR_ERR_OK, has_nc_ntf_status = 0;
const sr_error_info_t *err_info;
uint32_t idx;
struct ly_set mod_set = {0};
struct np_ntf_arg *ntf_arg;
Expand Down

0 comments on commit 5d7e152

Please sign in to comment.