mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
ebtablesAddRemoveRule: avoid dead store
* src/util/ebtables.c (ebtablesAddRemoveRule): Avoid dead store to local, "s".
This commit is contained in:
parent
c101092adf
commit
4dbed7d9c4
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 IBM Corp.
|
* Copyright (C) 2009 IBM Corp.
|
||||||
* Copyright (C) 2007-2009 Red Hat, Inc.
|
* Copyright (C) 2007-2010 Red Hat, Inc.
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Lesser General Public
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
@ -185,7 +185,7 @@ ebtablesAddRemoveRule(ebtRules *rules, int action, const char *arg, ...)
|
|||||||
1; /* arg */
|
1; /* arg */
|
||||||
|
|
||||||
va_start(args, arg);
|
va_start(args, arg);
|
||||||
while ((s = va_arg(args, const char *)))
|
while (va_arg(args, const char *))
|
||||||
n++;
|
n++;
|
||||||
|
|
||||||
va_end(args);
|
va_end(args);
|
||||||
|
Loading…
Reference in New Issue
Block a user