summaryrefslogtreecommitdiff
path: root/ubifs-utils/mkfs.ubifs
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-11-02 00:50:27 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2017-11-02 01:14:34 +0100
commit81fd176a6b4958147302ef900f2651c476a3d4e7 (patch)
tree33ddc341f5635c89df17dd9d33bd7c0b45e73170 /ubifs-utils/mkfs.ubifs
parent3b421ab6144c661893e555d70b0c75608eb6a090 (diff)
Remove self-assignments of unused paramters
Use casts to void instead. Clang generates warnings about that by default. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'ubifs-utils/mkfs.ubifs')
-rw-r--r--ubifs-utils/mkfs.ubifs/key.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ubifs-utils/mkfs.ubifs/key.h b/ubifs-utils/mkfs.ubifs/key.h
index cd4b849..c16d0a8 100644
--- a/ubifs-utils/mkfs.ubifs/key.h
+++ b/ubifs-utils/mkfs.ubifs/key.h
@@ -64,8 +64,8 @@ static inline uint32_t key_r5_hash(const char *s, int len)
{
uint32_t a = 0;
const signed char *str = (const signed char *)s;
+ (void)len;
- len = len;
while (*str) {
a += *str << 4;
a += *str >> 4;