From bfb2b5924d00cb1a9aab829130dcd56e7f05de01 Mon Sep 17 00:00:00 2001 From: Ludovic Rousseau Date: Fri, 21 Sep 2012 11:07:11 +0200 Subject: [PATCH] Linux: Remove unused function register_error() Fix compiler warning hid.c:93:13: warning: 'register_error' defined but not used [-Wunused-function] --- linux/hid.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/linux/hid.c b/linux/hid.c index 535b99a..7851bbb 100644 --- a/linux/hid.c +++ b/linux/hid.c @@ -90,10 +90,6 @@ hid_device *new_hid_device() return dev; } -static void register_error(hid_device *device, const char *op) -{ - -} /* The caller must free the returned string with free(). */ static wchar_t *utf8_to_wchar_t(const char *utf8)