From 843062e9dd3d9b8c57fc27cc7961e59c898142f6 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Fri, 8 Feb 2008 04:20:52 -0800 Subject: [PATCH] --- yaml --- r: 84753 b: refs/heads/master c: 8aa84ab99b1e47973f0b82258f0eab945d0b114d h: refs/heads/master i: 84751: b1ccacce19b7565bd5dc697dafb362abe24a061f v: v3 --- [refs] | 2 +- trunk/fs/hfsplus/unicode.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index b6379738efab..3fd50556f902 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 800fdfb90ab4a172a46e45b7cc5e1670a54f44bc +refs/heads/master: 8aa84ab99b1e47973f0b82258f0eab945d0b114d diff --git a/trunk/fs/hfsplus/unicode.c b/trunk/fs/hfsplus/unicode.c index 9e10f9444b64..628ccf6fa402 100644 --- a/trunk/fs/hfsplus/unicode.c +++ b/trunk/fs/hfsplus/unicode.c @@ -325,7 +325,7 @@ int hfsplus_hash_dentry(struct dentry *dentry, struct qstr *str) struct super_block *sb = dentry->d_sb; const char *astr; const u16 *dstr; - int casefold, decompose, size, dsize, len; + int casefold, decompose, size, len; unsigned long hash; wchar_t c; u16 c2; @@ -336,6 +336,7 @@ int hfsplus_hash_dentry(struct dentry *dentry, struct qstr *str) astr = str->name; len = str->len; while (len > 0) { + int uninitialized_var(dsize); size = asc2unichar(sb, astr, len, &c); astr += size; len -= size;