Juan Manuel Guerrero dixit:
> 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
True…
___
Lynx-dev mailing list
Lynx-dev@nongnu.or
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
Juan Manuel Guerrero dixit:
> +#ifdef USE_PERSISTENT_COOKIES
> if (LYCookieFile != 0 && LYCookieSaveFile != 0) {
> +#else
> +{
Shouldn’t that be an “if (0) {” instead?
> +#endif
> /* set few safe flags: */
> #ifdef USE_PERSISTENT_COOKIES
> BOOLEAN persistent_cookies_flag = pe