binutils/srconv: remove unused quick variable
Remove unused `quick` variable from binutils/srconv.c.
Simon Marchi is removing the unused quick variable from binutils/srconv.c. The -q/--quick option, which sets this variable, is documented as obsolete and ignored. The variable has been unused since the initial Sourceware import, and its removal resolves a build warning.
- proposer
Proposes removing the unused `quick` variable from `srconv.c`, which causes build errors.
“Building binutils with a recent clang fails with: /home/smarchi/src/binutils-gdb/binutils/srconv.c:56:12: error: variable 'quick' set but not used [-Werror,-Wunused-but-set-global] The -q/--quick option is documented as obsolete and ignored, and the variable it sets has been unused since at least the initial sourceware import. Remove the variable, keep accepting the option.”
In Details
This patch removes an unused global variable quick from binutils/srconv.c. The -q or --quick option historically influenced srconv's behavior but is now documented as obsolete and ignored. The variable quick that this option sets has not been used since the initial import to Sourceware. Removing this dead code cleans up the source file and resolves a compiler warning about an unused but set variable.