0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 17:10:48 +01:00

MINOR global var cleanup

This commit is contained in:
dwight 2009-10-24 14:34:54 -04:00
parent 73ed0277ff
commit fe0226cd79
3 changed files with 0 additions and 9 deletions

View File

@ -53,15 +53,10 @@ namespace mongo {
extern string bind_ip;
extern char *appsrvPath;
// extern int curOp;
extern bool autoresync;
extern int opLogging;
extern OpLog _oplog;
extern int lenForNewNsFiles;
extern int ctr;
extern int callDepth;
extern int lockFile;
void setupSignals();

View File

@ -501,8 +501,6 @@ namespace mongo {
}
}
extern int callDepth;
class JniMessagingPort : public AbstractMessagingPort {
public:
JniMessagingPort(Message& _container) : container(_container) { }

View File

@ -48,7 +48,6 @@ namespace mongo {
map<string,Database*> databases;
int MAGIC = 0x1000;
// int curOp = -2;
int callDepth = 0;
extern int otherTraceLevel;
void addNewNamespaceToCatalog(const char *ns, const BSONObj *options = 0);
@ -69,7 +68,6 @@ namespace mongo {
ss << cc().ns() << ' ';
}
}
ss << callDepth;
return ss.str();
}