mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
82498e3d77
In cases we have something like
if y != "" {
x = y
}
where both x and y are strings, and x was not set before,
it makes no sense to have a condition, as such code is
equivalent to mere
x = y
Simplify such cases by removing "if".
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>