From 08cec9a32367d810a6a8860ea947ed2f8c07321b Mon Sep 17 00:00:00 2001 From: Martin Bonnin Date: Wed, 18 May 2022 16:46:26 +0200 Subject: [PATCH] remove useless braces --- .../kotlin/co/touchlab/sqliter/interop/SqliteDatabase.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqliter-driver/src/nativeCommonMain/kotlin/co/touchlab/sqliter/interop/SqliteDatabase.kt b/sqliter-driver/src/nativeCommonMain/kotlin/co/touchlab/sqliter/interop/SqliteDatabase.kt index 9155bba2..5800a164 100644 --- a/sqliter-driver/src/nativeCommonMain/kotlin/co/touchlab/sqliter/interop/SqliteDatabase.kt +++ b/sqliter-driver/src/nativeCommonMain/kotlin/co/touchlab/sqliter/interop/SqliteDatabase.kt @@ -21,7 +21,7 @@ internal class SqliteDatabase(path:String, label:String, val logger: Logger, pri if (err != SQLITE_OK) { val error = sqlite3_errmsg(dbPointer)?.toKString() - throw sqlException(logger, config, "error while compiling: $sqlString\n${error}", err) + throw sqlException(logger, config, "error while compiling: $sqlString\n$error", err) } statementPtr.value!!