Skip to content

Commit

Permalink
fix for bug# 3539462: "operation may be undefined" compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Alois Zoitl committed Jul 2, 2012
1 parent f6445cb commit b97f1c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cip/cipconnectionmanager.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down

0 comments on commit b97f1c0

Please sign in to comment.