summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-11-03 14:21:10 +0000
committerTim Potter <tpot@samba.org>2003-11-03 14:21:10 +0000
commit490dbaec81007a9b5dd3aabfc188bdb397927e78 (patch)
tree181bc9d872f604b536bddae3bb345a23551ca450 /source3/rpc_parse
parentc8e84154af5027f1c20329597851d451764f4869 (diff)
downloadsamba-490dbaec81007a9b5dd3aabfc188bdb397927e78.tar.gz
samba-490dbaec81007a9b5dd3aabfc188bdb397927e78.tar.bz2
samba-490dbaec81007a9b5dd3aabfc188bdb397927e78.zip
Fix some uninitialised variable warnings.
(This used to be commit 68945027b5dc6b5e1aee13e4df4d11a34e42a3a9)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_prs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_parse/parse_prs.c b/source3/rpc_parse/parse_prs.c
index b30c41c090..9056348239 100644
--- a/source3/rpc_parse/parse_prs.c
+++ b/source3/rpc_parse/parse_prs.c
@@ -1458,7 +1458,7 @@ void netsec_encode(struct netsec_auth_struct *a, int auth_flags,
static const uchar netsec_seal_sig[8] = NETSEC_SEAL_SIGNATURE;
static const uchar netsec_sign_sig[8] = NETSEC_SIGN_SIGNATURE;
- const uchar *netsec_sig;
+ const uchar *netsec_sig = NULL;
DEBUG(10,("SCHANNEL: netsec_encode seq_num=%d data_len=%lu\n", a->seq_num, (unsigned long)data_len));
@@ -1533,7 +1533,7 @@ BOOL netsec_decode(struct netsec_auth_struct *a, int auth_flags,
static const uchar netsec_seal_sig[8] = NETSEC_SEAL_SIGNATURE;
static const uchar netsec_sign_sig[8] = NETSEC_SIGN_SIGNATURE;
- const uchar *netsec_sig;
+ const uchar *netsec_sig = NULL;
uchar seq_num[8];