Skip to content

Commit

Permalink
Remove useless code in waptcommonunix.inc
Browse files Browse the repository at this point in the history
  • Loading branch information
eblaudy committed Jun 3, 2020
1 parent ec581c8 commit 1c99e47
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions wapt-get/waptcommonunix.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2262,9 +2262,6 @@ begin
if AApplicationName='' then
AApplicationName:=ApplicationName;
FAppIniFilename := GetCmdParams('ConfigFilename',GetCmdParams('config',GetCmdLineArg('c',['-'])));
if FAppIniFilename = '' then
FAppIniFilename := AApplicationName+'.ini';

if ExtractFileExt(FAppIniFilename)='' then
FAppIniFilename := IncludeTrailingPathDelimiter(IncludeTrailingPathDelimiter(GetEnvironmentVariable('HOME'))+'.config')+AApplicationName+'.ini';
end;
Expand Down

0 comments on commit 1c99e47

Please sign in to comment.