Fixes:
libcli/nbt/nbtsocket.c:65:27: warning: Value stored to 'req' during its initialization is never read <--[clang]
struct nbt_name_request *req = nbtsock->send_queue;
^~~ ~~~~~~~~~~~~~~~~~~~
1 warning generated.
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
*/
static void nbt_name_socket_send(struct nbt_name_socket *nbtsock)
{
- struct nbt_name_request *req = nbtsock->send_queue;
+ struct nbt_name_request *req;
TALLOC_CTX *tmp_ctx = talloc_new(nbtsock);
NTSTATUS status;