summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-23 21:54:30 +0000
committerJeremy Allison <jra@samba.org>2001-03-23 21:54:30 +0000
commit194a87bf7691aa8338a6625c0ad604e6b0569684 (patch)
treecbbc9f1c8a4618677a8f0ad8a61ef92fc1512c20
parent038d3977e2c57f87a4afc44d0d0610ecae20e80d (diff)
downloadsamba-194a87bf7691aa8338a6625c0ad604e6b0569684.tar.gz
samba-194a87bf7691aa8338a6625c0ad604e6b0569684.tar.bz2
samba-194a87bf7691aa8338a6625c0ad604e6b0569684.zip
Added Gerald's fixes.
Jeremy. (This used to be commit be825b07464f54d717333318a08154cff632f706)
-rw-r--r--source3/lib/talloc.c1
-rw-r--r--source3/rpcclient/rpcclient.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/source3/lib/talloc.c b/source3/lib/talloc.c
index aa9fc3ed75..860fc67bcb 100644
--- a/source3/lib/talloc.c
+++ b/source3/lib/talloc.c
@@ -84,7 +84,6 @@ void *talloc(TALLOC_CTX *t, size_t size)
/* a talloc version of realloc */
void *talloc_realloc(TALLOC_CTX *t, void *ptr, size_t size)
{
- void *p;
struct talloc_chunk *tc;
for (tc=t->list; tc; tc=tc->next) {
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index 8cc740f072..412a17c6e0 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -607,6 +607,4 @@ static void usage(char *pname)
process_cmd(&cli, line);
}
-
- return 0;
}