summaryrefslogtreecommitdiff
path: root/junklib.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-08-24 22:12:36 +0200
committerGravatar waker <wakeroid@gmail.com>2012-08-24 22:12:36 +0200
commit3c28bc1f6c155dd20ccf6fcad15533da71e9931f (patch)
tree4f9b64d079baf46a92f300ffbd21ebcef0995af1 /junklib.c
parentf3f1983b3156a97b8e2f492dd9e1db31cd2e4817 (diff)
junklib: minor typo fix in unused code
Diffstat (limited to 'junklib.c')
-rw-r--r--junklib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/junklib.c b/junklib.c
index 9989767f..d31a9435 100644
--- a/junklib.c
+++ b/junklib.c
@@ -167,6 +167,7 @@ extract_i32_le (unsigned char *buf)
return x;
}
+
static inline uint16_t
extract_i16 (const uint8_t *buf)
{
@@ -176,7 +177,6 @@ extract_i16 (const uint8_t *buf)
x = buf[0];
x <<= 8;
x |= buf[1];
- x <<= 8;
return x;
}