mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-01-23 07:04:21 +08:00
fix a couple missed warnings that gcc 2.95 picked up
This commit is contained in:
parent
e05ab344af
commit
6c43afe6f3
@ -378,7 +378,7 @@ ipmi_session_main(struct ipmi_intf * intf, int argc, char ** argv)
|
||||
else
|
||||
{
|
||||
|
||||
Ipmi_Session_Request_Type session_request_type;
|
||||
Ipmi_Session_Request_Type session_request_type = 0;
|
||||
uint32_t id_or_handle = 0;
|
||||
|
||||
if (!strncmp(argv[1], "active", 6))
|
||||
|
||||
@ -39,6 +39,7 @@
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include <ipmitool/helper.h>
|
||||
#include <ipmitool/log.h>
|
||||
|
||||
@ -433,8 +433,7 @@ ipmi_lan_poll_recv(struct ipmi_intf * intf)
|
||||
struct rmcp_hdr rmcp_rsp;
|
||||
struct ipmi_rs * rsp;
|
||||
struct ipmi_rq_entry * entry;
|
||||
int x, rv;
|
||||
|
||||
int x=0, rv;
|
||||
rsp = ipmi_lan_recv_packet(intf);
|
||||
while (rsp) {
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user