magicolor: fix [-Wunused-function] compiler warning

This function is only used when SNMP support is activated.
merge-requests/1/head
Olaf Meeuwissen 2015-12-26 17:41:09 +09:00
rodzic 292dd42bb6
commit 26aa8b52f6
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -1518,6 +1518,7 @@ mc_read(struct Magicolor_Scanner *s)
****************************************************************************/ ****************************************************************************/
#if HAVE_LIBSNMP
static struct MagicolorCap * static struct MagicolorCap *
mc_get_device_from_identification (const char*ident) mc_get_device_from_identification (const char*ident)
{ {
@ -1528,6 +1529,7 @@ mc_get_device_from_identification (const char*ident)
} }
return NULL; return NULL;
} }
#endif
/* /*