From 3c28bc1f6c155dd20ccf6fcad15533da71e9931f Mon Sep 17 00:00:00 2001 From: waker Date: Fri, 24 Aug 2012 22:12:36 +0200 Subject: junklib: minor typo fix in unused code --- junklib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'junklib.c') 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; } -- cgit v1.2.3