]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix compile warnings
authorKern Sibbald <kern@sibbald.com>
Sun, 4 Sep 2011 17:08:57 +0000 (19:08 +0200)
committerKern Sibbald <kern@sibbald.com>
Sun, 4 Sep 2011 17:08:57 +0000 (19:08 +0200)
bacula/src/dird/backup.c
bacula/src/dird/fd_cmds.c

index 4ac0b8af5f760038eec5c2a36d7221a98bbcd659..67c580ba129cdeaaecc0ba3782522eee160f1aba 100644 (file)
@@ -240,7 +240,6 @@ bool send_accurate_current_files(JCR *jcr)
    POOL_MEM buf;
    db_list_ctx jobids;
    db_list_ctx nb;
-   char ed1[50];
 
    /* In base level, no previous job is used and no restart incomplete jobs */
    if (jcr->is_canceled() || jcr->is_JobLevel(L_BASE)) {
index 803934b1ee4314b8c694121008dc22bc3f228f85..85e6055343cdd02c13641086f726196c6054a03f 100644 (file)
@@ -60,7 +60,6 @@ static char OKlevel[]        = "2000 OK level\n";
 static char OKRunScript[]    = "2000 OK RunScript\n";
 static char OKRunBeforeNow[] = "2000 OK RunBeforeNow\n";
 static char OKRestoreObject[] = "2000 OK ObjectRestored\n";
-static char OKBandwidth[]    = "2000 OK Bandwidth\n"; 
 
 /* Forward referenced functions */
 static bool send_list_item(JCR *jcr, const char *code, char *item, BSOCK *fd);