beremiz

Parents 03cf08190ac4
Children 1f2c3fdd70d0
Added initialization of abort_code and result_size to prevent warning message if not used in following code
--- a/etherlab/plc_etherlab.c Sat Apr 13 01:39:05 2013 +0200
+++ b/etherlab/plc_etherlab.c Sat Apr 13 01:40:31 2013 +0200
@@ -47,6 +47,9 @@
uint32_t abort_code;
size_t result_size;
+ abort_code = 0;
+ result_size = 0;
+
master = ecrt_request_master(%(master_number)d);
if (!master) {
SLOGF(LOG_CRITICAL, "EtherCAT master request failed!");