Skip to content

Commit 833824a

Browse files
committed
Fix build errors
1 parent 5971882 commit 833824a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cpp/src/arrow/flight/sql/odbc/flight_sql/ui/dsn_configuration_window.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ int DsnConfigurationWindow::CreatePropertiesGroup(int pos_x, int pos_y, int size
313313

314314
const auto keys = config_.GetCustomKeys();
315315
for (const auto& key : keys) {
316-
property_list_->ListAddItem({std::string(key), config.Get(key)});
316+
property_list_->ListAddItem({std::string(key), config_.Get(key)});
317317
}
318318

319319
SendMessage(property_list_->GetHandle(), LVM_SETEXTENDEDLISTVIEWSTYLE,

cpp/src/arrow/flight/sql/odbc/odbcabstraction/include/odbcabstraction/odbc_impl/odbc_handle.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class ODBCHandle {
4747
rc = function();
4848
} catch (const driver::odbcabstraction::DriverException& ex) {
4949
GetDiagnostics().AddError(ex);
50-
} catch (const std::bad_alloc& ex) {
50+
} catch (const std::bad_alloc&) {
5151
GetDiagnostics().AddError(driver::odbcabstraction::DriverException(
5252
"A memory allocation error occurred.", "HY001"));
5353
} catch (const std::exception& ex) {

0 commit comments

Comments
 (0)