mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: remove unnecessary Q_UNUSED macros
Also remove the UNUSED() macro, as there were no users left. The macro was silly anyway - there were many falso positives. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
5960fb7340
commit
4d183637d0
5 changed files with 8 additions and 19 deletions
|
@ -156,12 +156,10 @@ int get_usb_fd(uint16_t idVendor, uint16_t idProduct)
|
|||
}
|
||||
|
||||
JNIEXPORT void JNICALL
|
||||
Java_org_subsurfacedivelog_mobile_SubsurfaceMobileActivity_setUsbDevice(JNIEnv *env,
|
||||
jobject obj,
|
||||
Java_org_subsurfacedivelog_mobile_SubsurfaceMobileActivity_setUsbDevice(JNIEnv *,
|
||||
jobject,
|
||||
jobject javaUsbDevice)
|
||||
{
|
||||
Q_UNUSED (obj)
|
||||
Q_UNUSED (env)
|
||||
QAndroidJniObject usbDevice(javaUsbDevice);
|
||||
if (usbDevice.isValid()) {
|
||||
android_usb_serial_device_descriptor descriptor = getDescriptor(usbDevice);
|
||||
|
@ -175,12 +173,10 @@ Java_org_subsurfacedivelog_mobile_SubsurfaceMobileActivity_setUsbDevice(JNIEnv *
|
|||
}
|
||||
|
||||
JNIEXPORT void JNICALL
|
||||
Java_org_subsurfacedivelog_mobile_SubsurfaceMobileActivity_restartDownload(JNIEnv *env,
|
||||
jobject obj,
|
||||
Java_org_subsurfacedivelog_mobile_SubsurfaceMobileActivity_restartDownload(JNIEnv *,
|
||||
jobject,
|
||||
jobject javaUsbDevice)
|
||||
{
|
||||
Q_UNUSED (obj)
|
||||
Q_UNUSED (env)
|
||||
QAndroidJniObject usbDevice(javaUsbDevice);
|
||||
if (usbDevice.isValid()) {
|
||||
android_usb_serial_device_descriptor descriptor = getDescriptor(usbDevice);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue