Convert to C++ nullptr from NULL.

This commit is contained in:
Jonathan Naylor
2025-03-14 12:13:11 +00:00
parent 43f8b2f6f0
commit cf15f42a0f
98 changed files with 1340 additions and 1340 deletions

View File

@@ -475,7 +475,7 @@ CAMBEFEC::~CAMBEFEC()
unsigned int CAMBEFEC::regenerateDMR(unsigned char* bytes) const
{
assert(bytes != NULL);
assert(bytes != nullptr);
unsigned int a1 = 0U, a2 = 0U, a3 = 0U;
unsigned int MASK = 0x800000U;
@@ -576,7 +576,7 @@ unsigned int CAMBEFEC::regenerateDMR(unsigned char* bytes) const
unsigned int CAMBEFEC::regenerateDStar(unsigned char* bytes) const
{
assert(bytes != NULL);
assert(bytes != nullptr);
unsigned int a = 0U;
unsigned int b = 0U;
@@ -608,7 +608,7 @@ unsigned int CAMBEFEC::regenerateDStar(unsigned char* bytes) const
unsigned int CAMBEFEC::regenerateYSFDN(unsigned char* bytes) const
{
assert(bytes != NULL);
assert(bytes != nullptr);
unsigned int a = 0U;
unsigned int MASK = 0x800000U;
@@ -659,7 +659,7 @@ unsigned int CAMBEFEC::regenerateYSFDN(unsigned char* bytes) const
unsigned int CAMBEFEC::regenerateIMBE(unsigned char* bytes) const
{
assert(bytes != NULL);
assert(bytes != nullptr);
bool orig[144U];
bool temp[144U];