Skip to content

Commit a729f7b

Browse files
authored
Fix warnings on master (#305)
1 parent ade828a commit a729f7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SQLite.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ function execute(db::DB, stmt::Stmt, params::DBInterface.StatementParams = ())
545545
return r
546546
end
547547

548-
function execute(stmt::Stmt, params::DBInterface.StatementParams = ())
548+
function execute(stmt::Stmt, params::DBInterface.StatementParams)
549549
execute(stmt.db, stmt, params)
550550
end
551551

@@ -554,7 +554,7 @@ execute(stmt::Stmt; kwargs...) = execute(stmt.db, stmt, NamedTuple(kwargs))
554554
function execute(
555555
db::DB,
556556
sql::AbstractString,
557-
params::DBInterface.StatementParams = (),
557+
params::DBInterface.StatementParams,
558558
)
559559
# prepare without registering Stmt in DB
560560
stmt = Stmt(db, sql; register = false)

0 commit comments

Comments
 (0)