Bugzilla – Bug 1150
‘haveOutfile’ set but not used , g++ > 4.6.0
Last modified: 2011-06-08 15:04:40 UTC
[1267/1561] cxx: utils/test-runner.cc -> build/debug/utils/test-runner_1.o ../utils/test-runner.cc: In function ‘int main(int, char**)’: ../utils/test-runner.cc:199:8: error: variable ‘haveOutfile’ set but not used [-Werror=unused-but-set-variable] cc1plus: all warnings being treated as errors
Created attachment 1119 [details] patch the line if (!outfileName.empty ()) is sufficient to handle this case