From 9202808e6b0b00d32b32b96ba241ed046ca2a9ff Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sat, 31 Mar 2007 11:35:22 +0000 Subject: [PATCH] ebl cleanup git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4474 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/patches/testing/breg.c | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/bacula/patches/testing/breg.c b/bacula/patches/testing/breg.c index a997942b90..7dc2df94dc 100644 --- a/bacula/patches/testing/breg.c +++ b/bacula/patches/testing/breg.c @@ -108,18 +108,6 @@ char *apply_bregexps(const char *fname, alist *bregexps) return ret; } -char *get_next_bregexp(char *where) -{ - char sep; - char *after; - bool ok=false; - - if (!where && !*where) { - return NULL; - } - -} - /* return an alist of BREGEXP or return NULL if it's not a * where=!tmp!opt!ig,!temp!opt!i */ @@ -342,21 +330,3 @@ void BREGEXP::debug() printf("subst=[%s]\n", subst); printf("result=%s\n", result?result:"(null)"); } - -#ifdef TEST - -int main(int argc, char **argv) -{ - BREGEXP *reg; - - reg = new_bregexp(argv[1]); - - if (reg) { - reg->replace(argv[2]); - reg->debug(); - printf("%s => %s\n", argv[1], reg->result); - } - exit(0); -} - -#endif -- 2.39.5