mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
Remove unused variable in 'lib/ipmi_chassis.c'
This commit is contained in:
parent
1b1efca7e2
commit
37d672412d
@ -1140,8 +1140,6 @@ ipmi_chassis_main(struct ipmi_intf * intf, int argc, char ** argv)
|
|||||||
memset(&flags[0], 0, sizeof(flags));
|
memset(&flags[0], 0, sizeof(flags));
|
||||||
token = strtok_r(argv[2] + 8, ",", &saveptr);
|
token = strtok_r(argv[2] + 8, ",", &saveptr);
|
||||||
while (token != NULL) {
|
while (token != NULL) {
|
||||||
int i;
|
|
||||||
|
|
||||||
if (strcmp(token, "help") == 0) {
|
if (strcmp(token, "help") == 0) {
|
||||||
optionError = 1;
|
optionError = 1;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user