Skip to content

Commit dbabc35

Browse files
caiwplunny
authored andcommitted
Delete the useless code (#1335)
1 parent 5586445 commit dbabc35

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

modules/setting/setting.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -544,10 +544,6 @@ func NewContext() {
544544

545545
Cfg = ini.Empty()
546546

547-
if err != nil {
548-
log.Fatal(4, "Failed to parse 'app.ini': %v", err)
549-
}
550-
551547
CustomPath = os.Getenv("GITEA_CUSTOM")
552548
if len(CustomPath) == 0 {
553549
// For backward compatibility

0 commit comments

Comments
 (0)