Quellcode durchsuchen

BugFix#2 in Test for UA_ApplicationDescription_copy()

MaximilianBauer vor 10 Jahren
Ursprung
Commit
691273c547
1 geänderte Dateien mit 0 neuen und 3 gelöschten Zeilen
  1. 0 3
      tests/check_builtin.c

+ 0 - 3
tests/check_builtin.c

@@ -1665,9 +1665,6 @@ START_TEST(UA_ApplicationDescription_copyShallWorkOnExample)
 	gateWayString.length = gateWaySize;
 
 	UA_String **srcArray; UA_Array_new((void***)&srcArray,3,UA_STRING);
-	UA_Int32 *dimensions;
-	dimensions[0]=3;
-	UA_alloc((void**)&dimensions,UA_Int32_calcSize(UA_NULL));
 	UA_String_copycstring("__open",srcArray[0]);
 	UA_String_copycstring("_62541",srcArray[1]);
 	UA_String_copycstring("opc ua",srcArray[2]);