etherlab/plc_etherlab.c
changeset 2123 68beaf825a20
parent 2117 accc4cbca8d3
child 2165 02a2b5dee5e3
--- 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!");