Am 11.07.2018 22:17, schrieb Thorsten Glaser:
[snip]
Also, consider something like this:

#ifdef USE_PERSISTENT_COOKIES
    if (LYCookieFile != 0&&  LYCookieSaveFile != 0)
#else
    if (0)
#endif
      {
[snip]

If we assume that "if (0)" is the right choice instead of omitting the 
if-statement,
then it has the consecuence that the if-block is not executed at all in the 
case that
the macro USE_PERSISTENT_COOKIES is undefined.  In that case it would be 
clearner to
enclose the complete if-block with a #idef USE_PERSISTENT_COOKIES / #endif pair 
and
to remove all those occurrence of #idef USE_PERSISTENT_COOKIES / #endif pairs 
inside
the if-block.  But in the end it is the maintainer must decide how he wants to 
fix
this issue.  I have solved the problem to fit my own purposes.

Regards,
Juan M. Guerrero

_______________________________________________
Lynx-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to