Skip to content

Commit 278ebfd

Browse files
committed
server BUGFIX uninitialized variable
1 parent e751fbc commit 278ebfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/op_notifications.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ np2srv_ntf_clb(const sr_ev_notif_type_t notif_type, const char *xpath, const sr_
474474
const sr_node_t *srnode, *srnext;
475475
const struct lys_module *mod = NULL;
476476
size_t i;
477-
const char *ntf_type_str, *module_name = NULL;
477+
const char *ntf_type_str = NULL, *module_name = NULL;
478478
char numstr[21];
479479

480480
switch (notif_type) {

0 commit comments

Comments
 (0)