[sgen] Don't return unused thread count from stop/start world functions.
[mono.git] / mono / metadata / attach.c
index 0a053661b8e411892419e95a41ffa1bb3be6a0c0..71e87e1c577f09e113fdc7ca9dba54647a044b44 100644 (file)
@@ -129,15 +129,6 @@ decode_int (guint8 *buf, guint8 **endbuf, guint8 *limit)
        return (((int)buf [0]) << 0) | (((int)buf [1]) << 8) | (((int)buf [2]) << 16) | (((int)buf [3]) << 24);
 }
 
-static inline int
-decode_short (guint8 *buf, guint8 **endbuf, guint8 *limit)
-{
-       *endbuf = buf + 2;
-       g_assert (*endbuf <= limit);
-
-       return (((int)buf [0]) << 0) | (((int)buf [1]) << 8);
-}
-
 static char*
 decode_string_value (guint8 *buf, guint8 **endbuf, guint8 *limit)
 {