Browse Source

* fix warning about result not being initialized

git-svn-id: trunk@39880 -
svenbarth 6 years ago
parent
commit
76a95f61e2
1 changed files with 1 additions and 0 deletions
  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;