Commit 02119b09 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Remove NumModules.

parent cbfdfc65
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
// for std::sort() // for std::sort()
#include <algorithm> #include <algorithm>
int NumModules;
int NumAliases; int NumAliases;
/* \cond */ /* \cond */
...@@ -747,7 +746,6 @@ void add_module(std::string module_name, modules_t new_module) { ...@@ -747,7 +746,6 @@ void add_module(std::string module_name, modules_t new_module) {
// if the operator name is not already in the map or in the aliases // if the operator name is not already in the map or in the aliases
if (!operator_name_exists(operatorName)) { if (!operator_name_exists(operatorName)) {
modules_map[operatorName] = module_name; modules_map[operatorName] = module_name;
NumModules++;
} else { } else {
Error("Tried to add operator but the operator name already exists"); Error("Tried to add operator but the operator name already exists");
} }
......
...@@ -37,7 +37,6 @@ typedef struct { ...@@ -37,7 +37,6 @@ typedef struct {
short streamOutCnt; // Number of output streams short streamOutCnt; // Number of output streams
} modules_t; } modules_t;
extern int NumModules;
extern int NumAliases; extern int NumAliases;
/*** /***
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment