mirror of
https://github.com/go-gitea/gitea
synced 2025-07-27 12:48:37 +00:00
refactor: remove redundant err declarations (#32381)
This commit is contained in:
@@ -276,7 +276,6 @@ func ViewPost(ctx *context_module.Context) {
|
||||
if validCursor {
|
||||
length := step.LogLength - cursor.Cursor
|
||||
offset := task.LogIndexes[index]
|
||||
var err error
|
||||
logRows, err := actions.ReadLogs(ctx, task.LogInStorage, task.LogFilename, offset, length)
|
||||
if err != nil {
|
||||
ctx.Error(http.StatusInternalServerError, err.Error())
|
||||
|
Reference in New Issue
Block a user