summaryrefslogtreecommitdiff
path: root/vcl/android
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-02-28 09:16:52 +0200
committerTor Lillqvist <tml@iki.fi>2013-02-28 09:16:52 +0200
commit04893b7c90421f3f4c260f80ce70b43afa5d7fb9 (patch)
tree972c907e1541ca27f972b20f7c74d4dcb2849c25 /vcl/android
parent7bce0a1d9b0ef57432e0d856c67257b1573dedf5 (diff)
WaE: 'eventKind' may be used uninitialized in this function
Change-Id: I55b2a2bd4cffface671727f88a3da9b132d7637a
Diffstat (limited to 'vcl/android')
-rw-r--r--vcl/android/androidinst.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/android/androidinst.cxx b/vcl/android/androidinst.cxx
index df4f18953d76..5f8df7363032 100644
--- a/vcl/android/androidinst.cxx
+++ b/vcl/android/androidinst.cxx
@@ -1024,6 +1024,9 @@ Java_org_libreoffice_experimental_desktop_Desktop_touch(JNIEnv * /* env */,
case AMOTION_EVENT_ACTION_MOVE:
eventKind = SALEVENT_MOUSEMOVE;
break;
+ default:
+ LOGE("Java_org_libreoffice_experimental_desktop_Desktop_touch: Invalid action %d", action);
+ return;
}
SalFrame *pFocus = AndroidSalInstance::getInstance()->getFocusFrame();