소스 검색

* fix warning about result not being initialized

git-svn-id: trunk@39880 -
svenbarth 7 년 전
부모
커밋
76a95f61e2
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      packages/libffi/src/ffi.manager.pp

+ 1 - 0
packages/libffi/src/ffi.manager.pp

@@ -157,6 +157,7 @@ function TypeInfoToFFIType(aTypeInfo: PTypeInfo): pffi_type;
 
   function TypeKindName: String;
   begin
+    Result := '';
     WriteStr(Result, aTypeInfo^.Kind);
   end;