From: Eric Bollengier Date: Thu, 4 Aug 2011 20:21:33 +0000 (+0200) Subject: Remove unused variable (g++ warnings) X-Git-Tag: Release-5.2.1~113 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9267b18c0a9eaae7324174f4214ef74e762c04e3;p=bacula%2Fbacula Remove unused variable (g++ warnings) --- diff --git a/bacula/src/filed/job.c b/bacula/src/filed/job.c index 524911ab44..ace0835a53 100644 --- a/bacula/src/filed/job.c +++ b/bacula/src/filed/job.c @@ -158,7 +158,6 @@ static char runscript[] = "Run OnSuccess=%d OnFailure=%d AbortOnError=%d When= static char errmsg[] = "2999 Invalid command\n"; static char no_auth[] = "2998 No Authorization\n"; static char invalid_cmd[] = "2997 Invalid command for a Director with Monitor directive enabled.\n"; -static char OKBandwidth[] = "2000 OK Bandwidth\n"; static char OKinc[] = "2000 OK include\n"; static char OKest[] = "2000 OK estimate files=%s bytes=%s\n"; static char OKlevel[] = "2000 OK level\n"; diff --git a/bacula/src/filed/status.c b/bacula/src/filed/status.c index ecee674fc6..dcd0fdd34c 100644 --- a/bacula/src/filed/status.c +++ b/bacula/src/filed/status.c @@ -171,7 +171,7 @@ static void list_running_jobs_plain(STATUS_PKT *sp) { int sec, bps; POOL_MEM msg(PM_MESSAGE); - char b1[32], b2[32], b3[32], b4[32]; + char b1[32], b2[32], b3[32]; int len; bool found = false; JCR *njcr; @@ -248,7 +248,7 @@ static void list_running_jobs_api(STATUS_PKT *sp) { int sec, bps; POOL_MEM msg(PM_MESSAGE); - char b1[32], b2[32], b3[32], b4[32]; + char b1[32], b2[32], b3[32]; int len; JCR *njcr; char dt[MAX_TIME_LENGTH];