On 12/22/20 9:23 AM, Zhang Han wrote: > Put the assignment before the if condition > > Signed-off-by: Zhang Han <zhangha...@huawei.com> > --- > net/tap-bsd.c | 3 ++- > net/tap-solaris.c | 9 ++++++--- > 2 files changed, 8 insertions(+), 4 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <phi...@redhat.com>