Skip to content

Commit

Permalink
Remove incorrect circular reference
Browse files Browse the repository at this point in the history
  • Loading branch information
BinaryMelodies committed Jan 4, 2025
1 parent 59c04f0 commit 90987e2
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions src/format/cpm86.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,17 +220,12 @@ namespace DigitalResearch
* 0xFFFF and 0x0000, respectively. The choice of pointer values ensures that they cannot be dereferenced, and
* checking the end of a list is as easy as checking a null pointer.
*/
CPM86Format * module;
CPM86Format * module = nullptr;
// static constexpr CPM86Format * TERMINATE = reinterpret_cast<CPM86Format *>(0);
// static constexpr CPM86Format * DYNAMIC = reinterpret_cast<CPM86Format *>(1);
#define RSX_TERMINATE (reinterpret_cast<CPM86Format *>(0))
#define RSX_DYNAMIC (reinterpret_cast<CPM86Format *>(1))

rsx_record(CPM86Format * module)
: module(module)
{
}

void Clear();

void Read(Linker::Reader& rd);
Expand Down Expand Up @@ -484,16 +479,6 @@ namespace DigitalResearch
),
library_descriptor(this),
fastload_descriptor(this),
rsx_table(
rsx_record(this),
rsx_record(this),
rsx_record(this),
rsx_record(this),
rsx_record(this),
rsx_record(this),
rsx_record(this),
rsx_record(this)
),
format(format)
{
}
Expand Down

0 comments on commit 90987e2

Please sign in to comment.