P
panjf
Unregistered / Unconfirmed
GUEST, unregistred user!
在程序中我这样写的,可在编译时却出现如下信息,为什么?
[Warning] Variable'Ini' might not have been initialized
代码:
var
Ini: TiniFile;
begin
Ini := TIniFile.Create(IniFileName);
try
Ini.ReadSection(KeyName, combobx1.Items);
//编译时有提示
finally
Ini.Free;
end;