fix a couple missed warnings that gcc 2.95 picked up

This commit is contained in:
Duncan Laurie 2004-09-01 19:27:29 +00:00
parent e05ab344af
commit 6c43afe6f3
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -39,6 +39,7 @@
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <ipmitool/helper.h>
#include <ipmitool/log.h>

View File

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