device-manager: Add an assertion to get rid of a warning from Coverity.
commit87479307477496d1e3f6720ed9c15d1c890e9b73
authorTanu Kaskinen <tanu.kaskinen@digia.com>
Wed, 28 Mar 2012 09:27:26 +0000 (28 12:27 +0300)
committerTanu Kaskinen <tanuk@iki.fi>
Wed, 28 Mar 2012 14:34:01 +0000 (28 17:34 +0300)
treec03c77fd09284ab55ff281084c316f7096a51298
parent9d640e4491772e9edacc802ac72ed49d1f86176f
device-manager: Add an assertion to get rid of a warning from Coverity.

Coverity thinks that device_name can be NULL when it's
dereferenced by strcmp. Adding an assertion doesn't hurt
here (in my opinion), and that should get rid of the
warning.
src/modules/module-device-manager.c