[tor-dev] Unused -v and -F options in torperf/trivsocks-client?

David Fifield david at bamsoftware.com
Thu Jul 28 19:33:03 UTC 2011

Running "make" in torperf, I get errors about unused variables:

$ make
gcc -Wall -Werror -ggdb -c trivsocks-client.c
trivsocks-client.c: In function ‘main’:
trivsocks-client.c:452:51: error: variable ‘force’ set but not used [-Werror=unused-but-set-variable]
trivsocks-client.c:452:21: error: variable ‘isVerbose’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make: *** [trivsocks-client.o] Error 1

The variables have to do with the -v and -F options, which appear not to
do anything. This patch removes the options, but is it intentional?

David Fifield

More information about the tor-dev mailing list