Explorar el Código

* fix warning about result not being initialized

git-svn-id: trunk@39880 -
svenbarth hace 7 años
padre
commit
76a95f61e2
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;