diff options
| author | android-build-team Robot <android-build-team-robot@google.com> | 2019-11-11 21:16:05 +0000 |
|---|---|---|
| committer | android-build-team Robot <android-build-team-robot@google.com> | 2019-11-11 21:16:05 +0000 |
| commit | d907276bb495d634aecdc846c496a8fc1af5ec41 (patch) | |
| tree | 9a1da267461fa31365778817f8d5e2488fc61330 | |
| parent | a37ea4dbad6fb1b8c610f8a7cf72e6e384c04e4f (diff) | |
| parent | 1b459d203f01d0b85016ab20032c0b1d0bd0bb42 (diff) | |
| download | platform_packages_apps_LegacyCamera-android10-mainline-networking-release.tar.gz platform_packages_apps_LegacyCamera-android10-mainline-networking-release.tar.bz2 platform_packages_apps_LegacyCamera-android10-mainline-networking-release.zip | |
Snap for 6001391 from 1b459d203f01d0b85016ab20032c0b1d0bd0bb42 to qt-aml-networking-releaseandroid10-mainline-networking-release
Change-Id: Ia12d123a6e4a166d1a3188e98e19ee8562309903
| -rwxr-xr-x | jni/Android.mk | 4 | ||||
| -rw-r--r-- | jni/feature_mos_jni.cpp | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/jni/Android.mk b/jni/Android.mk index 37213bcf..92758494 100755 --- a/jni/Android.mk +++ b/jni/Android.mk @@ -20,10 +20,6 @@ LOCAL_CFLAGS += \ -Wno-unused-variable \ -Wno-unused-function \ -# some warnings should be fixed -LOCAL_CFLAGS += \ - -Wno-error=sometimes-uninitialized \ - LOCAL_CPPFLAGS := -std=gnu++98 LOCAL_SRC_FILES := \ diff --git a/jni/feature_mos_jni.cpp b/jni/feature_mos_jni.cpp index c2dcabfe..344c5983 100644 --- a/jni/feature_mos_jni.cpp +++ b/jni/feature_mos_jni.cpp @@ -419,7 +419,7 @@ JNIEXPORT jfloatArray JNICALL Java_com_android_camera_panorama_Mosaic_setSourceI double t0, t1, time_c; t0 = now_ms(); - int ret_code; + int ret_code = Mosaic::MOSAIC_RET_OK; if(frame_number_HR<MAX_FRAMES && frame_number_LR<MAX_FRAMES) { |
