Merge pull request #4434 from donaldsharp/fix_warnings

Fix warnings
This commit is contained in:
Mark Stapp 2019-05-31 10:10:25 -04:00 committed by GitHub
commit 4cc136532f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ static char pidfile_default[512];
#ifdef HAVE_SQLITE3 #ifdef HAVE_SQLITE3
static char dbfile_default[512]; static char dbfile_default[512];
#endif #endif
static char vtypath_default[256]; static char vtypath_default[512];
bool debug_memstats_at_exit = false; bool debug_memstats_at_exit = false;
static bool nodetach_term, nodetach_daemon; static bool nodetach_term, nodetach_daemon;

View File

@ -777,7 +777,7 @@ static void nb_log_callback(const enum nb_event event,
zlog_debug( zlog_debug(
"northbound callback: event [%s] op [%s] xpath [%s] value [%s]", "northbound callback: event [%s] op [%s] xpath [%s] value [%s]",
nb_event_name(event), nb_operation_name(operation), xpath, nb_event_name(event), nb_operation_name(operation), xpath,
value); value ? value : "(NULL)");
} }
/* /*