File tree Expand file tree Collapse file tree
java/driver/jni/src/main/cpp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -358,7 +358,6 @@ Java_org_apache_arrow_adbc_driver_jni_impl_NativeAdbc_statementCancel(
358358 JNIEnv* env, [[maybe_unused]] jclass self, jlong handle) {
359359 struct AdbcError error = ADBC_ERROR_INIT;
360360 auto * ptr = reinterpret_cast <struct AdbcStatement *>(static_cast <uintptr_t >(handle));
361- struct ArrowSchema schema = {};
362361 try {
363362 CHECK_ADBC_ERROR (AdbcStatementCancel (ptr, &error), error);
364363 } catch (const AdbcException& e) {
@@ -654,7 +653,6 @@ Java_org_apache_arrow_adbc_driver_jni_impl_NativeAdbc_connectionCancel(
654653 JNIEnv* env, [[maybe_unused]] jclass self, jlong handle) {
655654 struct AdbcError error = ADBC_ERROR_INIT;
656655 auto * ptr = reinterpret_cast <struct AdbcConnection *>(static_cast <uintptr_t >(handle));
657- struct ArrowSchema schema = {};
658656 try {
659657 CHECK_ADBC_ERROR (AdbcConnectionCancel (ptr, &error), error);
660658 } catch (const AdbcException& e) {
You can’t perform that action at this time.
0 commit comments