]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/dird/ua_status.c
Fix compilation warnings with GCC 6.1
[bacula/bacula] / bacula / src / dird / ua_status.c
index 395966041dff58ea217d8de708faf47a51ea96a7..ccf0b8492380f2eb023b34de7360b4014bbd3c21 100644 (file)
@@ -309,7 +309,7 @@ void list_dir_status_header(UAContext *ua)
       edit_uint64_with_commas(sm_max_buffers, b5));
 
    /* TODO: use this function once for all daemons */
-   if (b_plugin_list->size() > 0) {
+   if (b_plugin_list && b_plugin_list->size() > 0) {
       int len;
       Plugin *plugin;
       POOL_MEM msg(PM_FNAME);