ebtablesAddRemoveRule: avoid dead store

* src/util/ebtables.c (ebtablesAddRemoveRule): Avoid dead store
to local, "s".
This commit is contained in:
Jim Meyering 2010-03-05 17:36:40 +01:00
parent c101092adf
commit 4dbed7d9c4

View File

@ -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);