Commit fd1c5d4c authored by Adam Wujek's avatar Adam Wujek 💬

proto-standard/state-slave: fix warning

Fix warning introduced in the commit:
Implement one-step clock for HA & WR profiles
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 88546c40
......@@ -38,7 +38,7 @@ static int slave_handle_sync(struct pp_instance *ppi, void *buf,
{
MsgHeader *hdr = &ppi->received_ptp_header;
MsgSync sync;
int ret;
int ret = 0;
if (!msg_from_current_master(ppi))
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment