Add brackets after if when the content of the if block is a macro to avoir an issue if the macro is changed to multiline in the futur
modified libpkg/pkgdb.c
@@ -1177,14 +1177,16 @@ pkgdb_transaction_begin_sqlite(sqlite3 *sqlite, const char *savepoint)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -1217,14 +1219,16 @@ pkgdb_transaction_commit_sqlite(sqlite3 *sqlite, const char *savepoint)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -1256,14 +1260,16 @@ pkgdb_transaction_rollback_sqlite(sqlite3 *sqlite, const char *savepoint)
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
| + | |
|
|
|
|
|