diff options
author | waker <wakeroid@gmail.com> | 2012-08-24 22:12:36 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-08-24 22:12:36 +0200 |
commit | 3c28bc1f6c155dd20ccf6fcad15533da71e9931f (patch) | |
tree | 4f9b64d079baf46a92f300ffbd21ebcef0995af1 /junklib.c | |
parent | f3f1983b3156a97b8e2f492dd9e1db31cd2e4817 (diff) |
junklib: minor typo fix in unused code
Diffstat (limited to 'junklib.c')
-rw-r--r-- | junklib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |