diff options
author | NatsuDrag9 | 2018-06-20 10:33:08 +0530 |
---|---|---|
committer | NatsuDrag9 | 2018-06-20 10:33:08 +0530 |
commit | 430fe4a55793714837bf6b659625ec05ca51eae2 (patch) | |
tree | 6ec6ce6d346564f79336453e9094e1ce1d3a1994 /ldmicro/circuit.cpp | |
parent | c411d23bc89a22a3a18f69b339262e65ae91b8e2 (diff) | |
download | LDMicroGtk-430fe4a55793714837bf6b659625ec05ca51eae2.tar.gz LDMicroGtk-430fe4a55793714837bf6b659625ec05ca51eae2.tar.bz2 LDMicroGtk-430fe4a55793714837bf6b659625ec05ca51eae2.zip |
Solved Segmenation Fault error and removed unnecessary print statements.
Diffstat (limited to 'ldmicro/circuit.cpp')
-rw-r--r-- | ldmicro/circuit.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ldmicro/circuit.cpp b/ldmicro/circuit.cpp index 8b1a8e9..5f4bad9 100644 --- a/ldmicro/circuit.cpp +++ b/ldmicro/circuit.cpp @@ -37,12 +37,10 @@ static ElemSubcktSeries *LoadSeriesFromFile(FILE *f); //----------------------------------------------------------------------------- ElemLeaf *AllocLeaf(void) { - cout << "Inside AlocLeaf" << "\n"; return (ElemLeaf *)CheckMalloc(sizeof(ElemLeaf)); } ElemSubcktSeries *AllocSubcktSeries(void) { - cout << "Inside AllocSub" << "\n"; return (ElemSubcktSeries *)CheckMalloc(sizeof(ElemSubcktSeries)); } ElemSubcktParallel *AllocSubcktParallel(void) @@ -746,15 +744,11 @@ void DeleteSelectedRung(void) //----------------------------------------------------------------------------- static ElemSubcktSeries *AllocEmptyRung(void) { - cout << "Inside AllocEmpty" << "\n"; ElemSubcktSeries *s = AllocSubcktSeries(); - cout << "Checking series count" << "\n"; s->count = 1; - cout << "Series count done" << "\n"; s->contents[0].which = ELEM_PLACEHOLDER; ElemLeaf *l = AllocLeaf(); s->contents[0].d.leaf = l; - cout << "Exiting AllocEmpty" << "\n"; return s; } |