mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Attempt to fix harmless compiler warnings that reportedly appear in clang 15.
FossilOrigin-Name: c045d76b908a8c90d22511df7884e78d452b250db9ba70d4cb0935048a3c3ac4
This commit is contained in:
14
manifest
14
manifest
@@ -1,5 +1,5 @@
|
|||||||
C Improved\sdetection\sof\sinvalid\scommand-line\sarguments\sto\sthe\sshowdb\sand\nshowwal\sdebugging\sutility\sprograms.
|
C Attempt\sto\sfix\sharmless\scompiler\swarnings\sthat\sreportedly\sappear\sin\sclang\s15.
|
||||||
D 2023-02-03T12:03:56.008
|
D 2023-02-03T14:57:40.622
|
||||||
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
|
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
|
||||||
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
|
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
|
||||||
F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
|
F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
|
||||||
@@ -607,7 +607,7 @@ F src/os_setup.h 6011ad7af5db4e05155f385eb3a9b4470688de6f65d6166b8956e58a3d87210
|
|||||||
F src/os_unix.c 49b0d3d0f86fc4736d1b9a71035bbd791b892ed6908803f270d4d71f149c60ac
|
F src/os_unix.c 49b0d3d0f86fc4736d1b9a71035bbd791b892ed6908803f270d4d71f149c60ac
|
||||||
F src/os_win.c 295fe45f18bd86f2477f4cd79f3377c6f883ceb941b1f46808665c73747f2345
|
F src/os_win.c 295fe45f18bd86f2477f4cd79f3377c6f883ceb941b1f46808665c73747f2345
|
||||||
F src/os_win.h 7b073010f1451abe501be30d12f6bc599824944a
|
F src/os_win.h 7b073010f1451abe501be30d12f6bc599824944a
|
||||||
F src/pager.c fc6d3ec7017d7369ab5dc5421ad1763ff224551c9381866b6da69040db62e406
|
F src/pager.c a70ebfdca54fce32ba748087f2fc8739af479222590148dfa17d4ad71bcf8ff2
|
||||||
F src/pager.h f82e9844166e1585f5786837ddc7709966138ced17f568c16af7ccf946c2baa3
|
F src/pager.h f82e9844166e1585f5786837ddc7709966138ced17f568c16af7ccf946c2baa3
|
||||||
F src/parse.y 8e67d820030d2655b9942ffe61c1e7e6b96cea2f2f72183533299393907d0564
|
F src/parse.y 8e67d820030d2655b9942ffe61c1e7e6b96cea2f2f72183533299393907d0564
|
||||||
F src/pcache.c f4268f7f73c6a3db12ce22fd25bc68dc42315d19599414ab1207d7cf32f79197
|
F src/pcache.c f4268f7f73c6a3db12ce22fd25bc68dc42315d19599414ab1207d7cf32f79197
|
||||||
@@ -621,7 +621,7 @@ F src/random.c 606b00941a1d7dd09c381d3279a058d771f406c5213c9932bbd93d5587be4b9c
|
|||||||
F src/resolve.c d62c5665279cc7485f9d45b5e20911cc7b19c203f268321a90d05d74f4725750
|
F src/resolve.c d62c5665279cc7485f9d45b5e20911cc7b19c203f268321a90d05d74f4725750
|
||||||
F src/rowset.c ba9515a922af32abe1f7d39406b9d35730ed65efab9443dc5702693b60854c92
|
F src/rowset.c ba9515a922af32abe1f7d39406b9d35730ed65efab9443dc5702693b60854c92
|
||||||
F src/select.c c3ce1b49cca2c66c8c88fe7d9e1f3db23590deb4dd631619ad90e1e5d21bcf1f
|
F src/select.c c3ce1b49cca2c66c8c88fe7d9e1f3db23590deb4dd631619ad90e1e5d21bcf1f
|
||||||
F src/shell.c.in f7fd28e68269a58690c665e8a5e96ba242201267925fbd335f08695c79fc6db7
|
F src/shell.c.in 250817509dbf12e258e334fdcd87901e35a6b63dc285885fec5f577ebb67b498
|
||||||
F src/sqlite.h.in d2a5fc1f6740bd02b571d33d2eb308fa7d1b0fac5b86f6f1fe8310cd49bca97d
|
F src/sqlite.h.in d2a5fc1f6740bd02b571d33d2eb308fa7d1b0fac5b86f6f1fe8310cd49bca97d
|
||||||
F src/sqlite3.rc 5121c9e10c3964d5755191c80dd1180c122fc3a8
|
F src/sqlite3.rc 5121c9e10c3964d5755191c80dd1180c122fc3a8
|
||||||
F src/sqlite3ext.h da473ce2b3d0ae407a6300c4a164589b9a6bfdbec9462688a8593ff16f3bb6e4
|
F src/sqlite3ext.h da473ce2b3d0ae407a6300c4a164589b9a6bfdbec9462688a8593ff16f3bb6e4
|
||||||
@@ -2046,8 +2046,8 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
|
|||||||
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
|
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
|
||||||
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
|
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
|
||||||
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
|
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
|
||||||
P 5c19491c36b9e2128430e4f153bdef48c3f7b6541d44f36044e8fc2921ecc830
|
P 75cdaafc77b8a1efc84e71e90470994227f376e7d7de34c813e75dcadbb9f268
|
||||||
R ffa507b26ffffe21cc5887aba257a189
|
R c5631603f94a109df4203869b924462f
|
||||||
U drh
|
U drh
|
||||||
Z 94a99f30183c2c51b7133395ab993677
|
Z 35ae00f683438623b1e428d471df871e
|
||||||
# Remove this line to create a well-formed Fossil manifest.
|
# Remove this line to create a well-formed Fossil manifest.
|
||||||
|
@@ -1 +1 @@
|
|||||||
75cdaafc77b8a1efc84e71e90470994227f376e7d7de34c813e75dcadbb9f268
|
c045d76b908a8c90d22511df7884e78d452b250db9ba70d4cb0935048a3c3ac4
|
@@ -4693,7 +4693,6 @@ int sqlite3PagerOpen(
|
|||||||
u32 szPageDflt = SQLITE_DEFAULT_PAGE_SIZE; /* Default page size */
|
u32 szPageDflt = SQLITE_DEFAULT_PAGE_SIZE; /* Default page size */
|
||||||
const char *zUri = 0; /* URI args to copy */
|
const char *zUri = 0; /* URI args to copy */
|
||||||
int nUriByte = 1; /* Number of bytes of URI args at *zUri */
|
int nUriByte = 1; /* Number of bytes of URI args at *zUri */
|
||||||
int nUri = 0; /* Number of URI parameters */
|
|
||||||
|
|
||||||
/* Figure out how much space is required for each journal file-handle
|
/* Figure out how much space is required for each journal file-handle
|
||||||
** (there are two of them, the main journal and the sub-journal). */
|
** (there are two of them, the main journal and the sub-journal). */
|
||||||
@@ -4741,7 +4740,6 @@ int sqlite3PagerOpen(
|
|||||||
while( *z ){
|
while( *z ){
|
||||||
z += strlen(z)+1;
|
z += strlen(z)+1;
|
||||||
z += strlen(z)+1;
|
z += strlen(z)+1;
|
||||||
nUri++;
|
|
||||||
}
|
}
|
||||||
nUriByte = (int)(&z[1] - zUri);
|
nUriByte = (int)(&z[1] - zUri);
|
||||||
assert( nUriByte>=1 );
|
assert( nUriByte>=1 );
|
||||||
|
@@ -5685,10 +5685,13 @@ static int sql_trace_callback(
|
|||||||
/*
|
/*
|
||||||
** A no-op routine that runs with the ".breakpoint" doc-command. This is
|
** A no-op routine that runs with the ".breakpoint" doc-command. This is
|
||||||
** a useful spot to set a debugger breakpoint.
|
** a useful spot to set a debugger breakpoint.
|
||||||
|
**
|
||||||
|
** This routine does not do anything practical. The code are there simply
|
||||||
|
** to prevent the compiler from optimizing this routine out.
|
||||||
*/
|
*/
|
||||||
static void test_breakpoint(void){
|
static void test_breakpoint(void){
|
||||||
static int nCall = 0;
|
static unsigned int nCall = 0;
|
||||||
nCall++;
|
if( (nCall++)==0xffffffff ) printf("Many .breakpoints have run\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user