mwild1 / luadbi

Multi-backend SQL database library for Lua
MIT License
42 stars 15 forks source link

Add missing braces around initializer #78

Closed robert-scheck closed 8 months ago

robert-scheck commented 8 months ago
dbd/sqlite3/connection.c: In function 'dbd_sqlite3_connection': dbd/sqlite3/connection.c:266:3: warning: missing braces around initializer [-Wmissing-braces]
   "SQLITE_OPEN_READONLY",     SQLITE_OPEN_READONLY,
   ^
dbd/sqlite3/connection.c:266:3: warning: (near initialization for 'sqlite3_constants[0]') [-Wmissing-braces]

Suggestion is the same like ~ 15-20 lines above in the existing code.