Fix harmless compiler warning.

FossilOrigin-Name: a711e8cd2c7b64e06241736ecef478ac64ddbe7b58e0933b6febba63f7fb06e1
This commit is contained in:
mistachkin 2020-09-01 19:02:52 +00:00
parent 512aa78ca2
commit 52cfe0312a
3 changed files with 8 additions and 9 deletions

View File

@ -1,5 +1,5 @@
C In\sthe\sLemon\soutput,\sadd\sa\sprefix\scomment\sthat\sexplains\sthat\sthe\soutput\sfile\nis\sautomatically\sgenerated\sand\sshows\sthe\sname\sof\sthe\ssource\sfile.
D 2020-09-01T12:26:55.781
C Fix\sharmless\scompiler\swarning.
D 2020-09-01T19:02:52.344
F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1
F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea
F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724
@ -1798,7 +1798,7 @@ F tool/genfkey.test b6afd7b825d797a1e1274f519ab5695373552ecad5cd373530c63533638a
F tool/getlock.c f4c39b651370156cae979501a7b156bdba50e7ce
F tool/index_usage.c f62a0c701b2c7ff2f3e21d206f093c123f222dbf07136a10ffd1ca15a5c706c5
F tool/kvtest-speed.sh 4761a9c4b3530907562314d7757995787f7aef8f
F tool/lemon.c 01eff5008ba46e98f4b954317bfe57ea29b836e6d3e72e1bbdaad4ca3db501b3
F tool/lemon.c 992ef3a155c83fed9b49092af355b7f7d8cb426b2f9d32a30f602b8da50b00f6
F tool/lempar.c dc1f5e8a0847c2257b0b069c61e290227062c4d75f5b5a0797b75b08b1c00405
F tool/libvers.c caafc3b689638a1d88d44bc5f526c2278760d9b9
F tool/loadfts.c c3c64e4d5e90e8ba41159232c2189dba4be7b862
@ -1879,7 +1879,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 84d54eb35716174195ee7e5ac846f47308e5dbb0056e8ff568daa133860bab74
R 7f45e5b59f1c52d29dee23ebb0c2337a
U drh
Z 0e6fd8fbc683d31bd259b25e22ecc736
P d34caf3bb63d0512ea116a8c8c8343b76aa39441bd4b3e98231747a705b91d54
R 3b0720b948ac82f32202ffcf9870e5f6
U mistachkin
Z 3e6d19f97d4c9ecb153999370e83af0d

View File

@ -1 +1 @@
d34caf3bb63d0512ea116a8c8c8343b76aa39441bd4b3e98231747a705b91d54
a711e8cd2c7b64e06241736ecef478ac64ddbe7b58e0933b6febba63f7fb06e1

View File

@ -4422,7 +4422,6 @@ void ReportTable(
if( lemp->tokenprefix ) prefix = lemp->tokenprefix;
else prefix = "";
if( mhflag ){
const char *prefix;
fprintf(out,"#if INTERFACE\n"); lineno++;
}else{
fprintf(out,"#ifndef %s%s\n", prefix, lemp->symbols[1]->name);