/ Check-in [852a529a]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix harmless compiler warning in 'srcck1' tool and add it to the clean targets.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 852a529a8b112049f67a3126f677c06ae4a22d73
User & Date: mistachkin 2016-02-07 20:39:27
Context
2016-02-08
19:36
Changes to help the tokenizer run about 33% faster. check-in: a050e6f0 user: drh tags: trunk
2016-02-07
20:39
Fix harmless compiler warning in 'srcck1' tool and add it to the clean targets. check-in: 852a529a user: mistachkin tags: trunk
00:08
Add the sourcetest target to Makefile.msc. check-in: ab269e72 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Makefile.in.

  1221   1221   	rm -f sqlite3.c
  1222   1222   	rm -f sqlite3rc.h
  1223   1223   	rm -f shell.c sqlite3ext.h
  1224   1224   	rm -f sqlite3_analyzer$(TEXE) sqlite3_analyzer.c
  1225   1225   	rm -f sqlite-*-output.vsix
  1226   1226   	rm -f mptester mptester.exe
  1227   1227   	rm -f rbu rbu.exe
         1228  +	rm -f srcck1 srcck1.exe
  1228   1229   	rm -f fuzzershell fuzzershell.exe
  1229   1230   	rm -f fuzzcheck fuzzcheck.exe
  1230   1231   	rm -f sqldiff sqldiff.exe
  1231   1232   	rm -f fts5.* fts5parse.*
  1232   1233   
  1233   1234   distclean:	clean
  1234   1235   	rm -f config.h config.log config.status libtool Makefile sqlite3.pc

Changes to Makefile.msc.

  2012   2012   	-rmdir /Q/S tsrc 2>NUL
  2013   2013   	del /Q .target_source 2>NUL
  2014   2014   	del /Q tclsqlite3.exe 2>NUL
  2015   2015   	del /Q testloadext.dll 2>NUL
  2016   2016   	del /Q testfixture.exe test.db 2>NUL
  2017   2017   	del /Q LogEst.exe fts3view.exe rollback-test.exe showdb.exe 2>NUL
  2018   2018   	del /Q showjournal.exe showstat4.exe showwal.exe speedtest1.exe 2>NUL
  2019         -	del /Q mptester.exe wordcount.exe rbu.exe 2>NUL
         2019  +	del /Q mptester.exe wordcount.exe rbu.exe srcck1.exe 2>NUL
  2020   2020   	del /Q $(SQLITE3EXE) $(SQLITE3DLL) sqlite3.def 2>NUL
  2021   2021   	del /Q sqlite3.c sqlite3-*.c 2>NUL
  2022   2022   	del /Q sqlite3rc.h 2>NUL
  2023   2023   	del /Q shell.c sqlite3ext.h 2>NUL
  2024   2024   	del /Q sqlite3_analyzer.exe sqlite3_analyzer.c 2>NUL
  2025   2025   	del /Q sqlite-*-output.vsix 2>NUL
  2026   2026   	del /Q fuzzershell.exe fuzzcheck.exe sqldiff.exe 2>NUL
  2027   2027   	del /Q fts5.* fts5parse.* 2>NUL
  2028   2028   # <</mark>>

Changes to main.mk.

   895    895   	rm -f showdb showdb.exe
   896    896   	rm -f showjournal showjournal.exe
   897    897   	rm -f showstat4 showstat4.exe
   898    898   	rm -f showwal showwal.exe
   899    899   	rm -f speedtest1 speedtest1.exe
   900    900   	rm -f wordcount wordcount.exe
   901    901   	rm -f rbu rbu.exe
          902  +	rm -f srcck1 srcck1.exe
   902    903   	rm -f sqlite3.c sqlite3-*.c fts?amal.c tclsqlite3.c
   903    904   	rm -f sqlite3rc.h
   904    905   	rm -f shell.c sqlite3ext.h
   905    906   	rm -f sqlite3_analyzer sqlite3_analyzer.exe sqlite3_analyzer.c
   906    907   	rm -f sqlite-*-output.vsix
   907    908   	rm -f mptester mptester.exe
   908    909   	rm -f fuzzershell fuzzershell.exe
   909    910   	rm -f fuzzcheck fuzzcheck.exe
   910    911   	rm -f sqldiff sqldiff.exe
   911    912   	rm -f fts5.* fts5parse.*

Changes to tool/srcck1.c.

   120    120       if( c=='\n' ){ lineno++; continue; }
   121    121       if( isalpha(c) && !isalpha(prevC) ){
   122    122         if( strncmp(&z[i],"assert(",7)==0
   123    123          || strncmp(&z[i],"ALWAYS(",7)==0
   124    124          || strncmp(&z[i],"NEVER(",6)==0
   125    125          || strncmp(&z[i],"testcase(",9)==0
   126    126         ){
   127         -        unsigned int j, n;
          127  +        unsigned int n;
   128    128           const char *z2 = &z[i+5];
   129    129           while( z2[0]!='(' ){ z2++; }
   130    130           z2++;
   131    131           n = findCloseParen(z2);
   132    132           if( hasSideEffect(z2, n) ){
   133    133             nErr++;
   134    134             fprintf(stderr, "side-effect line %u: %.*s\n", lineno,