From 9f57f01b144b030274cc5d116b864b3c27f251ef Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 8 May 1998 16:59:30 +0000 Subject: clitar.c: #ifdef'ed out all the bits that were giving 'defined but not used' messages. nttrans.c: More updates. smb.h: Removed stuff that didn't belong in the smb_passwd struct. Persuaded Luke to use a new structure. web/swat.c: Fixed gcc complaints about shadowing global 'string'. Jeremy. (This used to be commit 61c1dbb9785ed1e6fe40f93c7cc65024884df6f5) --- source3/client/clitar.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3/client/clitar.c') diff --git a/source3/client/clitar.c b/source3/client/clitar.c index c0325c37e5..98364b77ed 100644 --- a/source3/client/clitar.c +++ b/source3/client/clitar.c @@ -142,6 +142,8 @@ static void unfixtarname(char *tptr, char *fp, int l); * tar specific utitlities */ +#if 0 /* Removed to get around gcc 'defined but not used' error. */ + /* * Stack routines, push_dir, pop_dir, top_dir_name */ @@ -186,6 +188,8 @@ static BOOL sub_dir(char *dir1, char *dir2) } +#endif /* Removed to get around gcc 'defined but not used' error. */ + /* Create a string of size size+1 (for the null) */ static char * string_create_s(int size) { @@ -1477,6 +1481,8 @@ static void unfixtarname(char *tptr, char *fp, int l) } } +#if 0 /* Removed to get around gcc 'defined but not used' error. */ + /**************************************************************************** Move to the next block in the buffer, which may mean read in another set of blocks. @@ -1664,6 +1670,7 @@ static void do_tarput2(void) } +#endif /* Removed to get around gcc 'defined but not used' error. */ static void do_tarput() { -- cgit