소스 검색

BugFix#2 in Test for UA_ApplicationDescription_copy()

MaximilianBauer 10 년 전
부모
커밋
691273c547
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  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]);