Skip to content
Snippets Groups Projects
Commit bdd82176 authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony
Browse files

Kill a compiler warning in NormaliseToMonitorTest

Refs #8784
parent 87c1faca
No related branches found
No related tags found
No related merge requests found
......@@ -317,7 +317,7 @@ public:
// this function is usually called by GUI when senning input workspace. It should read monitors and report the condition changed
TS_ASSERT(monSpec->getSettings()->isConditionChanged(&norm6));
// this funciton is called by gui when the above is true. It should not throw and change the validator
IPropertySettings *pSett;
IPropertySettings *pSett(NULL);
TS_ASSERT_THROWS_NOTHING(pSett= monSpec->getSettings());
TS_ASSERT_THROWS_NOTHING(pSett->applyChanges(&norm6, monSpec));
// it should return the list of allowed monitor ID-s
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment