fix some compiler warnings with clang

This commit is contained in:
Wim Taymans 2019-02-06 11:35:36 +01:00
parent 317f3b6be7
commit e4cac644d2
20 changed files with 67 additions and 46 deletions

View file

@ -261,13 +261,15 @@ static void do_remove_source(struct spa_source *source)
int main(int argc, char *argv[])
{
struct data data = { 0 };
struct data data;
int res;
void *handle;
spa_handle_factory_enum_func_t enum_func;
uint32_t index;
const char *str;
spa_zero(data);
if (argc < 2) {
printf("usage: %s <plugin.so>\n", argv[0]);
return -1;