From 92e8bff76f4d52a1072bfa1ffc6df4bd81e0b00c Mon Sep 17 00:00:00 2001 From: runrevpanos Date: Tue, 7 Jul 2015 10:47:45 +0100 Subject: [PATCH] [Bug 11866] iphoneHeadingCalibrationTimeout returns empty --- docs/notes/bugfix-11866.md | 1 + engine/src/mblsensor.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 docs/notes/bugfix-11866.md diff --git a/docs/notes/bugfix-11866.md b/docs/notes/bugfix-11866.md new file mode 100644 index 00000000000..c6c2135adf1 --- /dev/null +++ b/docs/notes/bugfix-11866.md @@ -0,0 +1 @@ +# iphoneHeadingCalibrationTimeout returns empty diff --git a/engine/src/mblsensor.cpp b/engine/src/mblsensor.cpp index 72493ba6529..6afd78a879a 100644 --- a/engine/src/mblsensor.cpp +++ b/engine/src/mblsensor.cpp @@ -836,7 +836,7 @@ Exec_stat MCHandleHeadingCalibrationTimeout(void *p_context, MCParameter *p_para MCSensorGetLocationCalibration(t_ctxt, t_timeout); MCresult->setnvalue(t_timeout); - t_ctxt . SetTheResultToEmpty(); + // PM-2015-07-08: [[ Bug 11866 ]] Don't empty the result before return return t_ctxt.GetStat(); #endif /* MCHandleHeadingCalibrationTimeout */ }