format_yang_dnode is never used and it has coverity issues, removing
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
return PATHD_FORMAT_FINI();
}
-const char *format_yang_dnode(struct lyd_node *dnode)
-{
- char *buff;
- int len;
-
- lyd_print_mem(&buff, dnode, LYD_JSON, LYD_PRINT_WD_ALL);
- len = strlen(buff);
- memcpy(_debug_buff, buff, len);
- free(buff);
- return _debug_buff;
-}
-
void _format_pcc_opts(int ps, struct pcc_opts *opts)
{
if (opts == NULL) {
const char *format_path(struct path *path);
const char *format_pcep_event(pcep_event *event);
const char *format_pcep_message(struct pcep_message *msg);
-const char *format_yang_dnode(struct lyd_node *dnode);
#endif // _PATH_PCEP_DEBUG_H_