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

@ -163,12 +163,14 @@ static void handle_monitor(struct data *data, struct spa_monitor *monitor)
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 fidx;
spa_zero(data);
data.map = &default_map.map;
data.log = &default_log.log;
data.main_loop.version = SPA_VERSION_LOOP;