IDE: fixed uninitialized result

git-svn-id: trunk@37346 -
This commit is contained in:
mattias 2012-05-19 09:11:46 +00:00
parent f5a6bc3f9a
commit 25cee57606

View File

@ -1275,6 +1275,7 @@ end;
function dbgs(AFlags: TSourceNotebookUpdateFlags): string; overload;
var i: TSourceNotebookUpdateFlag;
begin
Result := '';
for i := low(TSourceNotebookUpdateFlags) to high(TSourceNotebookUpdateFlags) do
if i in AFlags then begin
if Result <> '' then Result := Result + ',';