summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-04 20:04:55 +0200
committerVolker Lendecke <vl@samba.org>2010-07-04 21:49:04 +0200
commit05237dca11b902104e271120a31a8a3114b35cc4 (patch)
tree3a56205f54a9f9576028c47addb31cb023a9e284
parent23a31becacee9da11ebe4dff4a3146e19c95a5be (diff)
downloadsamba-05237dca11b902104e271120a31a8a3114b35cc4.tar.gz
samba-05237dca11b902104e271120a31a8a3114b35cc4.tar.bz2
samba-05237dca11b902104e271120a31a8a3114b35cc4.zip
s3: Remove an unused variable -- thanks, metze!
-rw-r--r--source3/lib/serverid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/serverid.c b/source3/lib/serverid.c
index f774170784..74effa4c31 100644
--- a/source3/lib/serverid.c
+++ b/source3/lib/serverid.c
@@ -213,7 +213,6 @@ static int server_exists_parse(TDB_DATA key, TDB_DATA data, void *priv)
{
struct serverid_exists_state *state =
(struct serverid_exists_state *)priv;
- uint64_t unique_id;
if (data.dsize != sizeof(struct serverid_data)) {
return -1;
@@ -224,7 +223,7 @@ static int server_exists_parse(TDB_DATA key, TDB_DATA data, void *priv)
* aligned.
*/
state->exists = (memcmp(&state->id->unique_id, data.dptr,
- sizeof(unique_id)) == 0);
+ sizeof(state->id->unique_id)) == 0);
return 0;
}