Hartland/primecoin — pull request #1 by Hartland (2013-07-21 16:06:57+00:00)
Title:  Fix compile error with init.cpp

The fGenerate flag is not defined in init.cpp.

init.cpp: In function ‘void DetectShutdownThread(boost::thread_group*)’:
init.cpp:131:8: error: ‘fGenerate’ was not declared in this scope

I tried importing rpcmining.cpp that defines the flag, but it did not work. Removing the reference to the flag did solve the compile problem.
Is the flag needed? Setting GenerateBicoins to (false and null) does not appear to effect anything in the shutdown if the generation flag is false.