summaryrefslogtreecommitdiffstats
path: root/source/client/clitar.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-05-08 16:59:30 +0000
committerJeremy Allison <jra@samba.org>1998-05-08 16:59:30 +0000
commit61c1dbb9785ed1e6fe40f93c7cc65024884df6f5 (patch)
tree0a4baf1dcdd564982d597f43b9f849c8d7d1d54a /source/client/clitar.c
parent6dde50738fcdbaae799101b84ab6b6270696193d (diff)
downloadsamba-61c1dbb9785ed1e6fe40f93c7cc65024884df6f5.tar.gz
samba-61c1dbb9785ed1e6fe40f93c7cc65024884df6f5.tar.xz
samba-61c1dbb9785ed1e6fe40f93c7cc65024884df6f5.zip
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.
Diffstat (limited to 'source/client/clitar.c')
-rw-r--r--source/client/clitar.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/client/clitar.c b/source/client/clitar.c
index c0325c37e5e..98364b77ed2 100644
--- a/source/client/clitar.c
+++ b/source/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()
{