mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-07-03 18:51:42 +00:00
Remove unused variable in 'lib/ipmi_chassis.c'
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user