Instead of the `else` branch, initialize it:

```go
code := http.StatusInternalServerError
```