Again fixed some compiler warnings.

This commit is contained in:
Florian Pose 2012-09-19 22:40:32 +02:00
parent 8e7ea685d0
commit eff96bb8dd
2 changed files with 1 additions and 2 deletions

View File

@ -37,6 +37,7 @@
#include <stdio.h>
#include <errno.h>
#include <string.h>
#include <sys/ioctl.h>
#include "sdo_request.h"
#include "master/ioctl.h"

View File

@ -70,7 +70,6 @@ int ecrt_slave_config_sync_manager(ec_slave_config_t *sc, uint8_t sync_index,
ec_direction_t dir, ec_watchdog_mode_t watchdog_mode)
{
ec_ioctl_config_t data;
unsigned int i;
if (sync_index >= EC_MAX_SYNC_MANAGERS)
return -ENOENT;
@ -473,7 +472,6 @@ ec_voe_handler_t *ecrt_slave_config_create_voe_handler(ec_slave_config_t *sc,
{
ec_ioctl_voe_t data;
ec_voe_handler_t *voe;
unsigned int index;
voe = malloc(sizeof(ec_voe_handler_t));
if (!voe) {