Initialise the request ID in xs_talkv, to silence valgrind. We're not actually

using this value at the moment -- it's only there for use by future clients.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@leeni.uk.xensource.com committed 2005-11-17 20:25:47 +01:00
1 parent 3700b1715b
commit d6840089fb
1 file changed
+1
+1
View File
@@ -305,6 +305,7 @@ static void *xs_talkv(struct xs_handle *h, struct xs_transaction_handle *t,
struct sigaction ignorepipe, oldact;
msg.tx_id = (uint32_t)(unsigned long)t;
msg.req_id = 0;
msg.type = type;
msg.len = 0;
for (i = 0; i < num_vecs; i++)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.