From: Kern Sibbald Date: Fri, 11 Dec 2009 18:10:33 +0000 (+0100) Subject: Remove ua_prune.c debug code X-Git-Tag: Release-5.0.0~142 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d7313ec66af06d0c24c435fc3c83c8804f15a3a0;p=bacula%2Fbacula Remove ua_prune.c debug code --- diff --git a/bacula/src/dird/ua_prune.c b/bacula/src/dird/ua_prune.c index 0c08238262..ea36fef8a6 100644 --- a/bacula/src/dird/ua_prune.c +++ b/bacula/src/dird/ua_prune.c @@ -96,8 +96,6 @@ int file_delete_handler(void *ctx, int num_fields, char **row) del->max_ids); } del->JobId[del->num_ids++] = (JobId_t)str_to_int64(row[0]); - /* **FIXME*** remove in production */ - sm_check(__FILE__, __LINE__, true); // Dmsg2(150, "row=%d val=%d\n", del->num_ids-1, del->JobId[del->num_ids-1]); return 0; } @@ -308,12 +306,8 @@ int prune_files(UAContext *ua, CLIENT *client, POOL *pool) bail_out: db_unlock(ua->db); - /* ***FIXME*** remove this for production */ - sm_check(__FILE__, __LINE__, true); if (del.JobId) { free(del.JobId); - /* ***FIXME*** remove this for production */ - sm_check(__FILE__, __LINE__, true); } return 1; }