diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-06-25 01:33:36 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-06-25 01:33:36 +0200 |
commit | 5da54ef8eac90ae74ff75a23e3189a594b54424d (patch) | |
tree | 1795b2d464331e41e8417bfbdee3d10becaaebc3 | |
parent | da2c352f04de5b9c4f071a0f0ad57cb2cdd51eff (diff) |
add a few missing asserts
-rw-r--r-- | src/alsa.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -180,6 +180,9 @@ int driver_change_props(ca_context *c, ca_proplist *changed, ca_proplist *merged } int driver_cache(ca_context *c, ca_proplist *proplist) { + ca_return_val_if_fail(c, CA_ERROR_INVALID); + ca_return_val_if_fail(proplist, CA_ERROR_INVALID); + return CA_ERROR_NOTSUPPORTED; } |