Remove broken Q_ASSERT_X with now-removed variable.

Change-Id: I3e15ac1246f1bc1ff0a6d53aeb3ca1df17f856d0
Merge topic 'fix-broken-crystal-assert' into master

b3b18481 Remove broken Q_ASSERT_X with now-removed variable.