GenericUI: replace if() by assert()
authorJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Thu, 28 Jul 2016 21:50:33 +0000 (23:50 +0200)
committerJulien "_FrnchFrgg_" RIVAUD <frnchfrgg@free.fr>
Thu, 28 Jul 2016 22:07:02 +0000 (00:07 +0200)
commita7b29d79668dfe24b3b07b4bc100d5bdc439cee3
treee0bb5a9f4bd4fffd231cff478e7c118849dd6034
parent3365722b8b5f3ed17b53d1e9492a4bec22db3a62
GenericUI: replace if() by assert()

It makes no sense to check for the validity of mcontrol only for
controller creation, since the remainder of the code assumes that the
controller will have been created correctly.

Replace that by an assert.
gtk2_ardour/generic_pluginui.cc