mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +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) 2007-2009 Red Hat, Inc.
|
||||
* Copyright (C) 2007-2010 Red Hat, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* 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 */
|
||||
|
||||
va_start(args, arg);
|
||||
while ((s = va_arg(args, const char *)))
|
||||
while (va_arg(args, const char *))
|
||||
n++;
|
||||
|
||||
va_end(args);
|
||||
|
Loading…
Reference in New Issue
Block a user