fix: ineffectual assignment to status (ineffassign)

This commit is contained in:
Siyuan 2025-11-21 12:04:21 +00:00
parent 1a3582c877
commit 3f9280cec5
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ func updateProcessTitle(state *VideoState) {
if state == nil {
procPrefix = "jetkvm: [native]"
} else {
status := "active"
var status string
if state.Streaming == VideoStreamingStatusInactive {
status = "inactive"
} else if !state.Ready {