diff options
author | Volker Lendecke <vl@sernet.de> | 2008-09-10 11:51:02 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-09-10 11:57:10 +0200 |
commit | 40b93006c1ea1d6527d669a285a118ce86432d58 (patch) | |
tree | 07695bf9a31d9666d65fdccb8d7395e9f478cf33 /source3 | |
parent | a1d0f59f4604c4d324c1b082fba43ffa11ea8f97 (diff) | |
download | samba-40b93006c1ea1d6527d669a285a118ce86432d58.tar.gz samba-40b93006c1ea1d6527d669a285a118ce86432d58.tar.bz2 samba-40b93006c1ea1d6527d669a285a118ce86432d58.zip |
Fix some bogus compiler warnings
(This used to be commit 84ed752d9f17b2279bd60f534ce7c02b267a40b2)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/clitrans.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/source3/libsmb/clitrans.c b/source3/libsmb/clitrans.c index 5b84e68fc4..c929f0b7a9 100644 --- a/source3/libsmb/clitrans.c +++ b/source3/libsmb/clitrans.c @@ -1119,11 +1119,16 @@ static void cli_trans_recv_helper(struct async_req *req) req->private_data, struct cli_request); struct cli_trans_state *state = talloc_get_type_abort( cli_req->recv_helper.priv, struct cli_trans_state); - uint8_t num_setup; - uint16_t *setup; - uint32_t total_param, num_param, param_disp; - uint32_t total_data, num_data, data_disp; - uint8_t *param, *data; + uint8_t num_setup = 0; + uint16_t *setup = NULL; + uint32_t total_param = 0; + uint32_t num_param = 0; + uint32_t param_disp = 0; + uint32_t total_data = 0; + uint32_t num_data = 0; + uint32_t data_disp = 0; + uint8_t *param = NULL; + uint8_t *data = NULL; bool sent_all; NTSTATUS status; |