This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
I wonder how many $CONFIGs still lurk in the shadows.
[perl5.git] / x2p / a2p.c
index 4cf6c51..357e8e4 100644 (file)
--- a/x2p/a2p.c
+++ b/x2p/a2p.c
@@ -2089,7 +2089,7 @@ yyparse()
     register char *yys;
     extern char *getenv();
 
-    if (yys = getenv("YYDEBUG"))
+    if ((yys = getenv("YYDEBUG")))
     {
         yyn = *yys;
         if (yyn >= '0' && yyn <= '9')