1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

s3: Remove an unused variable -- thanks, metze!

This commit is contained in:
Volker Lendecke 2010-07-04 20:04:55 +02:00
parent 23a31becac
commit 05237dca11

View File

@ -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;
}