summaryrefslogtreecommitdiff
path: root/source3/smbd/mangle.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2001-10-11 12:33:26 +0000
committerSimo Sorce <idra@samba.org>2001-10-11 12:33:26 +0000
commit49307c26789b3061780d160f4c6fa4863853eddd (patch)
treeda63221adcfa07ead7e7ec93b788a54b6c00c5bc /source3/smbd/mangle.c
parent8edc45ec4c467e5069875808d0abd9452e7b056c (diff)
downloadsamba-49307c26789b3061780d160f4c6fa4863853eddd.tar.gz
samba-49307c26789b3061780d160f4c6fa4863853eddd.tar.bz2
samba-49307c26789b3061780d160f4c6fa4863853eddd.zip
remove unused function in mangle.c
fix some alloc leaks spotted by andreas moroder. (This used to be commit 39409a20f69078709c63f6f867c042e66d5c7de3)
Diffstat (limited to 'source3/smbd/mangle.c')
-rw-r--r--source3/smbd/mangle.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source3/smbd/mangle.c b/source3/smbd/mangle.c
index a28cfe0931..7d8d68c9e2 100644
--- a/source3/smbd/mangle.c
+++ b/source3/smbd/mangle.c
@@ -1000,18 +1000,6 @@ BOOL name_map_mangle(char *OutName, BOOL need83, BOOL cache83, int snum)
static TDB_CONTEXT *mangle_tdb;
-static int POW10(unsigned int exp)
-{
- int result = 1;
-
- while (exp) {
- result *= 10;
- exp--;
- }
-
- return result;
-}
-
BOOL init_mangle_tdb(void)
{
char *tdbfile;