File fix-misleading-indentation-and-defined-but-not-used.patch of Package global
--- global-6.6.14/libdb/sqlite3.c 2024-12-11 07:44:34.000000000 +0100
+++ global-6.6.14//libdb/sqlite3.c 2026-02-15 19:22:10.988202995 +0100
@@ -8642,7 +8642,7 @@
** at run-time.
*/
#ifdef SQLITE_AMALGAMATION
-SQLITE_PRIVATE const int sqlite3one = 1;
+[[maybe_unused]] SQLITE_PRIVATE const int sqlite3one = 1;
#else
SQLITE_PRIVATE const int sqlite3one;
#endif
@@ -91826,7 +91826,10 @@
** number of rows in the table. Or 10, if the estimated number of rows
** in the table is less than that. */
a[0] = pIdx->pTable->nRowLogEst;
- if( a[0]<33 ) a[0] = 33; assert( 33==sqlite3LogEst(10) );
+ if( a[0]<33 ) {
+ a[0] = 33;
+ assert( 33==sqlite3LogEst(10) );
+ }
/* Estimate that a[1] is 10, a[2] is 9, a[3] is 8, a[4] is 7, a[5] is
** 6 and each subsequent value (if any) is 5. */