Fix harmless LLVM compiler warnings in the srcck1.c utility program used
during the build process. FossilOrigin-Name: e4af967533f290862dfba1d9ef44d4c9ddd8a01b
This commit is contained in:
parent
57a07ba9a9
commit
cf7e7557b5
12
manifest
12
manifest
@ -1,5 +1,5 @@
|
||||
C Disable\sthe\smulti-row\sone-pass\sDELETE\soptimization\swhen\sthe\sWHERE\sclause\ncontains\sa\ssubquery.\s\sFix\sfor\sticket\s[dc6ebeda9396087].
|
||||
D 2016-05-02T12:18:56.634
|
||||
C Fix\sharmless\sLLVM\scompiler\swarnings\sin\sthe\ssrcck1.c\sutility\sprogram\sused\nduring\sthe\sbuild\sprocess.
|
||||
D 2016-05-02T13:57:19.631
|
||||
F Makefile.in 9e816d0323e418fbc0f8b2c05fc14e0b3763d9e8
|
||||
F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
|
||||
F Makefile.msc 71b8b16cf9393f68e2e2035486ca104872558836
|
||||
@ -1454,7 +1454,7 @@ F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
|
||||
F tool/speedtest8inst1.c 7ce07da76b5e745783e703a834417d725b7d45fd
|
||||
F tool/split-sqlite3c.tcl d9be87f1c340285a3e081eb19b4a247981ed290c
|
||||
F tool/sqldiff.c ca315aca4e2d24233e8f2000edea5880c53d1875
|
||||
F tool/srcck1.c 4f65e1a6748e42f24c0ea629dddc934d821c729a
|
||||
F tool/srcck1.c 4c39bdfa9a92edd20233ee720df84dbeb2417602
|
||||
F tool/stack_usage.tcl f8e71b92cdb099a147dad572375595eae55eca43
|
||||
F tool/symbols-mingw.sh 4dbcea7e74768305384c9fd2ed2b41bbf9f0414d
|
||||
F tool/symbols.sh c5a617b8c61a0926747a56c65f5671ef8ac0e148
|
||||
@ -1486,7 +1486,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93
|
||||
F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc
|
||||
F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e
|
||||
F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0
|
||||
P 54c63b329288729031f45b7778752552cd90e226
|
||||
R 31fbd50c446b686ccdad6a76f26cbea2
|
||||
P 3f221f592a9a19009076e568566c59801cd3fc32
|
||||
R 9e19502e796cc0b447ced5695bd13d5a
|
||||
U drh
|
||||
Z 89acbaae560b0638ea30c0a72d46ae74
|
||||
Z 98cb934422c4b3de5638d36de23360d8
|
||||
|
@ -1 +1 @@
|
||||
3f221f592a9a19009076e568566c59801cd3fc32
|
||||
e4af967533f290862dfba1d9ef44d4c9ddd8a01b
|
@ -111,11 +111,11 @@ static unsigned int findCloseParen(const char *z){
|
||||
** Print error messages whenever a side effect is found. Return the number
|
||||
** of problems seen.
|
||||
*/
|
||||
static unsigned int findAllSideEffects(const unsigned char *z){
|
||||
static unsigned int findAllSideEffects(const char *z){
|
||||
unsigned int lineno = 1; /* Line number */
|
||||
unsigned int i;
|
||||
unsigned int nErr = 0;
|
||||
unsigned char c, prevC = 0;
|
||||
char c, prevC = 0;
|
||||
for(i=0; (c = z[i])!=0; prevC=c, i++){
|
||||
if( c=='\n' ){ lineno++; continue; }
|
||||
if( isalpha(c) && !isalpha(prevC) ){
|
||||
@ -125,7 +125,7 @@ static unsigned int findAllSideEffects(const unsigned char *z){
|
||||
|| strncmp(&z[i],"testcase(",9)==0
|
||||
){
|
||||
unsigned int n;
|
||||
unsigned const char *z2 = &z[i+5];
|
||||
const char *z2 = &z[i+5];
|
||||
while( z2[0]!='(' ){ z2++; }
|
||||
z2++;
|
||||
n = findCloseParen(z2);
|
||||
@ -141,7 +141,7 @@ static unsigned int findAllSideEffects(const unsigned char *z){
|
||||
}
|
||||
|
||||
int main(int argc, char **argv){
|
||||
unsigned char *z;
|
||||
char *z;
|
||||
unsigned int nErr = 0;
|
||||
if( argc!=2 ){
|
||||
fprintf(stderr, "Usage: %s FILENAME\n", argv[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user