Browse Source

fix for bug# 3539462: "operation may be undefined" compiler warning

Alois Zoitl 13 năm trước cách đây
mục cha
commit
b97f1c0ece
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/cip/cipconnectionmanager.c

+ 1 - 1
src/cip/cipconnectionmanager.c

@@ -458,7 +458,7 @@ generalConnectionConfiguration(S_CIP_ConnectionObject *pa_pstConnObj)
           (EIP_UINT16) ((pa_pstConnObj->O_to_T_RPI) / 1000);
     }
 
-  pa_pstConnObj->m_unProductionInhibitTime =
+  pa_pstConnObj->m_nProductionInhibitTimer =
       pa_pstConnObj->m_unProductionInhibitTime = 0;
 
   /*setup the preconsuption timer: max(ConnectionTimeoutMultiplier * EpectetedPacketRate, 10s) */