BaseTools: eliminate unused expression result
Remove some code generated by antlr that causes clang to emit warning warning: expression result unused [-Wunused-value] Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Zenith432 <zenith432@users.sourceforge.net> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@@ -3252,7 +3252,7 @@ enum_def(fname)
|
||||
zzMake0;
|
||||
{
|
||||
if ( (LA(1)==ID)&&(isDLGmaxToken(LATEXT(1))) ) {
|
||||
if (!(isDLGmaxToken(LATEXT(1))) ) {zzfailed_pred(" isDLGmaxToken(LATEXT(1))",0 /* report */, { 0; /* no user action */ } );}
|
||||
if (!(isDLGmaxToken(LATEXT(1))) ) {zzfailed_pred(" isDLGmaxToken(LATEXT(1))",0 /* report */, { ; /* no user action */ } );}
|
||||
zzmatch(ID); zzCONSUME;
|
||||
{
|
||||
zzBLOCK(zztasp4);
|
||||
|
Reference in New Issue
Block a user