mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
using golang-style assignment
using golang-style assignment, not the c-style Signed-off-by: Wang Anyu <wanganyu@outlook.com>
This commit is contained in:
@@ -374,9 +374,7 @@ func uniqMcs(catRange uint32) string {
|
||||
continue
|
||||
} else {
|
||||
if c1 > c2 {
|
||||
t := c1
|
||||
c1 = c2
|
||||
c2 = t
|
||||
c1, c2 = c2, c1
|
||||
}
|
||||
}
|
||||
mcs = fmt.Sprintf("s0:c%d,c%d", c1, c2)
|
||||
|
||||
Reference in New Issue
Block a user