Forráskód Böngészése

cfg parsing: disable non constant rval in ip comparison warning

Reported-by: Steven C. Blair  blairs isc upenn edu
Andrei Pelinescu-Onciul 15 éve
szülő
commit
bd55f84d2c
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      cfg.y

+ 1 - 1
cfg.y

@@ -2062,7 +2062,7 @@ exp_elem:
 					yyerror("BUG: unexpected dynamic type");
 					yyerror("BUG: unexpected dynamic type");
 				}
 				}
 			}else{
 			}else{
-					warn("non constant rvalue in ip comparison");
+					/* warn("non constant rvalue in ip comparison") */;
 			}
 			}
 			if (s_tmp.s){
 			if (s_tmp.s){
 				ip_tmp=str2ip(&s_tmp);
 				ip_tmp=str2ip(&s_tmp);