mirror of https://github.com/jetkvm/kvm.git
fix: ineffectual assignment to status (ineffassign)
This commit is contained in:
parent
1a3582c877
commit
3f9280cec5
|
|
@ -58,7 +58,7 @@ func updateProcessTitle(state *VideoState) {
|
||||||
if state == nil {
|
if state == nil {
|
||||||
procPrefix = "jetkvm: [native]"
|
procPrefix = "jetkvm: [native]"
|
||||||
} else {
|
} else {
|
||||||
status := "active"
|
var status string
|
||||||
if state.Streaming == VideoStreamingStatusInactive {
|
if state.Streaming == VideoStreamingStatusInactive {
|
||||||
status = "inactive"
|
status = "inactive"
|
||||||
} else if !state.Ready {
|
} else if !state.Ready {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue