Hello, I've been wanting to clean up the code for Wget for some time now. Today, I wrote a small script that compiles Wget with a bunch of warning flags and uploads each warning to GitHub as an issue.
These issues have been created against the fork of Wget that I maintain on https://github.com/darnir/wget As of now, I compiled Wget using Clang and CFLAGS="-Wextra -Wall -pedantic -std=gnu89" These flags end up spewing around 60 warnings, all of them semantic issues. The issues have been labeled based on the flag that caused them and the type of issue it is according to clang. I wanted to run clang with -Weverything, but that throws nearly 800+ warnings. Hence, I figured, let's clean this up first and we can then begin looking at the other warnings. Some of them are probably false positives, but tohers seem to have some more subtle problems with platform independence. This is a kind request to everyone here, please look at the issue list, claim something if you're working on it and fix it. I'll enable more warning flags as these get fixed. I would also suggest a spring cleaning day, sometime next week maybe when we can collectively try and clean as much of the code as possible. The scripts I wrote to generate this issue list will be publicly available as soon as I manage to clean them up. They're still a horrible hack, but it works. -- Thanking You, Darshit Shah
