wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wget2 | Check if robots.txt parser complies with standardized format


From: Gisle Vanem (@gvanem)
Subject: Re: wget2 | Check if robots.txt parser complies with standardized format (#607)
Date: Tue, 20 Sep 2022 09:39:18 +0000



Gisle Vanem commented:


Regarding this `robots.txt`, I get this strange warning from clang-cl:
```c
src/wget.c(3768,22): warning: result of comparison of 1-bit signed value == 1 
is always false [-Wtautological-value-range-compare]
                if (job->robotstxt == true) {
                    ~~~~~~~~~~~~~~ ^  ~~~~
```

But writing it as:
```c
                if (job->robotstxt) {
                        unlink(local_filename);
                }
```
there's no warning.

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/-/issues/607#note_1106749740
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]