Remove unused, redundant 'g_DEBUG_MODE' variable

This is exactly the same as the DEBUG_MODE_ENABLED macro
This commit is contained in:
Ray Speth 2015-05-29 16:29:00 -04:00
parent 78f60e2d5f
commit 911c2f180d
2 changed files with 0 additions and 16 deletions

View file

@ -27,14 +27,6 @@ namespace Cantera
class XML_Node;
class Logger;
//! Declaration for whether the Debug mode is turned on within Cantera
/*!
* Turn on the mode by using the following compile time syntax
*
* scons debug_verbose=True build
*/
extern const int g_DEBUG_MODE;
//! Return the number of errors that have been encountered so far
/*!
* @ingroup errorhandling

View file

@ -13,14 +13,6 @@ using namespace std;
namespace Cantera
{
//! Definition of whether the DEBUG_MODE environment is turned on within Cantera.
#if DEBUG_MODE_ENABLED == 1
const int g_DEBUG_MODE = 1;
#else
const int g_DEBUG_MODE = 0;
#endif
//! Return a pointer to the application object
static Application* app()
{