From 49cc5442b012b0bd94f8de00af84e6be4c0dd856 Mon Sep 17 00:00:00 2001 From: Richard Date: Fri, 8 Apr 2022 22:44:44 +0100 Subject: fix return before unlock in dbarray.i --- src/opcodes.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/opcodes.cpp b/src/opcodes.cpp index c64bb38..34bba02 100644 --- a/src/opcodes.cpp +++ b/src/opcodes.cpp @@ -521,7 +521,6 @@ struct dbarray : csnd::Plugin<1, 2> { LOCK(connection); try { connection->ArrayQuery(sql.data, csound, array); - return OK; } catch (const std::exception &e) { UNLOCK(connection); return csound->init_error(e.what()); -- cgit v1.2.3