mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 17:52:24 +08:00
pkg/services: fix ineffassign issues
This commit is contained in:
@ -77,7 +77,7 @@ func saveDashboard(sess *DBSession, cmd *m.SaveDashboardCommand) error {
|
||||
}
|
||||
|
||||
parentVersion := dash.Version
|
||||
affectedRows := int64(0)
|
||||
var affectedRows int64
|
||||
var err error
|
||||
|
||||
if dash.Id == 0 {
|
||||
|
Reference in New Issue
Block a user