Skip to content

Commit 5a172c3

Browse files
authored
Merge pull request #513 from marcomontevechi1/master
Remove comparing NexusDataType codes with NDDataTypeCodes
2 parents 42c6563 + 7e76347 commit 5a172c3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ADApp/pluginSrc/NDFileNexus.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,6 @@ void * NDFileNexus::allocConstValue(int dataType, size_t length ) {
660660
case NX_CHAR:
661661
pValue = calloc( length + 1 , sizeof(char) );
662662
break;
663-
case NDAttrUndefined:
664663
default:
665664
pValue = NULL;
666665
break;
@@ -724,7 +723,6 @@ void NDFileNexus::constTextToDataType(char *inText, int dataType, void *pValue)
724723
((char *)pValue)[strlen(inText)] = '\0';
725724
//sscanf((const char *)inText, "%s", (char *)pValue);
726725
break;
727-
case NDAttrUndefined:
728726
default:
729727
break;
730728
}

0 commit comments

Comments
 (0)