From: Kern Sibbald Date: Fri, 11 Dec 2009 18:10:33 +0000 (+0100) Subject: Remove ua_prune.c debug code X-Git-Tag: Release-7.0.0~2459 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1f8c51e861eeb6571fb517c487d0a9c425d63dee;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; }