Mercurial > audlegacy
diff src/audacious/input.c @ 3128:343504d43afc trunk
Fix warnings.
| author | William Pitcock <nenolod@atheme-project.org> |
|---|---|
| date | Fri, 20 Jul 2007 19:42:24 -0500 |
| parents | c92070f10148 |
| children | dfe8f4eb3dba |
line wrap: on
line diff
--- a/src/audacious/input.c Fri Jul 20 19:37:11 2007 -0500 +++ b/src/audacious/input.c Fri Jul 20 19:42:24 2007 -0500 @@ -372,7 +372,11 @@ { g_free(filename_proxy); vfs_fclose(fd); - return ip; + + pr = g_new0(ProbeResult, 1); + pr->ip = NULL; + + return pr; } for (node = get_input_list(); node != NULL; node = g_list_next(node)) @@ -550,7 +554,7 @@ pr = input_check_file(filename_proxy, FALSE); if (!pr) - return; + return NULL; ip = pr->ip;
