diff -r 4b331759169a -r f82e758840bd src/pdo.c --- a/src/pdo.c Thu Nov 29 11:58:02 2007 +0100 +++ b/src/pdo.c Mon Dec 03 11:30:38 2007 +0100 @@ -146,7 +146,6 @@ { UNS8 numPdo; UNS8 numMap; /* Number of the mapped varable */ - UNS8 i; UNS8 * pMappingCount = NULL; /* count of mapped objects... */ /* pointer to the var which is mapped to a pdo... */ /* void * pMappedAppObject = NULL; */ @@ -157,7 +156,6 @@ type */ UNS32 * pwCobId = NULL; UNS8 Size; - UNS8 dataType; UNS8 offset; UNS8 status; UNS32 objDict; @@ -605,7 +603,6 @@ case 3: /* Changed inhibit time */ case 5: /* Changed event time */ { - UNS8 pTransmissionType = *(UNS8*) OD_entry->pSubindex[2].pObject; const indextable* TPDO_com = d->objdict + d->firstIndex->PDO_TRS; UNS8 numPdo = OD_entry - TPDO_com; /* number of the actual processed pdo-nr. */