summaryrefslogtreecommitdiffstats
path: root/fs/cifs/asn1.c
diff options
context:
space:
mode:
authorSteve French2005-09-16 05:44:50 +0200
committerSteve French2005-09-16 05:44:50 +0200
commitab2f218f4fa2c36ecd39ac1406eec1e63cd430bd (patch)
tree80a361ff0417e1a9733fd49cbb133797854da264 /fs/cifs/asn1.c
parent[CIFS] Update cifs TODO list with additional new features that (diff)
downloadkernel-qcow2-linux-ab2f218f4fa2c36ecd39ac1406eec1e63cd430bd.tar.gz
kernel-qcow2-linux-ab2f218f4fa2c36ecd39ac1406eec1e63cd430bd.tar.xz
kernel-qcow2-linux-ab2f218f4fa2c36ecd39ac1406eec1e63cd430bd.zip
[CIFS] Fix compiler warnings
Fix some compiler warnings noticed on x64 by me and ppc64 by Shaggy Signed-off-by: Steve French (sfrench@us.ibm.com)
Diffstat (limited to 'fs/cifs/asn1.c')
-rw-r--r--fs/cifs/asn1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/asn1.c b/fs/cifs/asn1.c
index e02010dd73ec..98539e2afe81 100644
--- a/fs/cifs/asn1.c
+++ b/fs/cifs/asn1.c
@@ -191,7 +191,8 @@ asn1_header_decode(struct asn1_ctx *ctx,
unsigned char **eoc,
unsigned int *cls, unsigned int *con, unsigned int *tag)
{
- unsigned int def, len;
+ unsigned int def = 0;
+ unsigned int len = 0;
if (!asn1_id_decode(ctx, cls, con, tag))
return 0;