Skip to content

Commit

Permalink
Merge pull request #513 from marcomontevechi1/master
Browse files Browse the repository at this point in the history
Remove comparing NexusDataType codes with NDDataTypeCodes
  • Loading branch information
MarkRivers authored Nov 18, 2024
2 parents 42c6563 + 7e76347 commit 5a172c3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ADApp/pluginSrc/NDFileNexus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,6 @@ void * NDFileNexus::allocConstValue(int dataType, size_t length ) {
case NX_CHAR:
pValue = calloc( length + 1 , sizeof(char) );
break;
case NDAttrUndefined:
default:
pValue = NULL;
break;
Expand Down Expand Up @@ -724,7 +723,6 @@ void NDFileNexus::constTextToDataType(char *inText, int dataType, void *pValue)
((char *)pValue)[strlen(inText)] = '\0';
//sscanf((const char *)inText, "%s", (char *)pValue);
break;
case NDAttrUndefined:
default:
break;
}
Expand Down

0 comments on commit 5a172c3

Please sign in to comment.