Skip to content

Commit

Permalink
hide empty SynLog "Environment variables=" from eugeneilyin
Browse files Browse the repository at this point in the history
- merged #240
  • Loading branch information
Arnaud Bouchez committed Oct 16, 2019
1 parent e2e6367 commit 0363081
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions SynLog.pas
Expand Up @@ -4385,9 +4385,9 @@ procedure TSynLog.LogFileHeader;
AddNoJSONEscapeString(InstanceFileName);
end;
{$ifdef MSWINDOWS}
NewLine;
AddShort('Environment variables=');
if not fFamily.fNoEnvironmentVariable then begin
NewLine;
AddShort('Environment variables=');
Env := GetEnvironmentStringsW;
P := pointer(Env);
while P^<>#0 do begin
Expand Down
2 changes: 1 addition & 1 deletion SynTable.pas
Expand Up @@ -11962,7 +11962,7 @@ procedure TSynBackgroundTimer.EverySecond(
n := 0;
fTaskLock.Lock;
try
variant(fTaskLock.Padding[0]) := true;
variant(fTaskLock.Padding[0]) := true; // = fTaskLock.LockedBool[0]
try
for i := 0 to length(fTask)-1 do begin
t := @fTask[i];
Expand Down
2 changes: 1 addition & 1 deletion SynopseCommit.inc
@@ -1 +1 @@
'1.18.5410'
'1.18.5411'

0 comments on commit 0363081

Please sign in to comment.