Suppress warning in LibUsb (the only one I'm getting from Java).

This commit is contained in:
Luca Longinotti 2013-09-08 17:53:46 +02:00
parent db11db2fac
commit fee57b7c71
1 changed files with 2 additions and 2 deletions

View File

@ -804,8 +804,8 @@ public final class LibUsb
* array is too small
*/
@Deprecated
public static int getPortPath(final Context context, final Device device,
final ByteBuffer path)
public static int getPortPath(@SuppressWarnings("unused") final Context context,
final Device device, final ByteBuffer path)
{
return getPortNumbers(device, path);
}