mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
Remove the superfluous use of { }
Original commit message from CVS: Remove the superfluous use of { }
This commit is contained in:
parent
7cd51262a7
commit
5659b77a60
1 changed files with 10 additions and 12 deletions
|
@ -86,6 +86,10 @@ int main (int argc,char *argv[])
|
|||
|
||||
while (registries) {
|
||||
GstRegistry *registry = GST_REGISTRY (registries->data);
|
||||
GList *dir_list;
|
||||
GList *iter;
|
||||
char *dir;
|
||||
|
||||
if (path_spill)
|
||||
{
|
||||
GList *iter;
|
||||
|
@ -126,19 +130,13 @@ int main (int argc,char *argv[])
|
|||
}
|
||||
}
|
||||
|
||||
{
|
||||
GList *dir_list;
|
||||
GList *iter;
|
||||
char *dir;
|
||||
|
||||
dir_list = gst_registry_get_path_list(registry);
|
||||
for(iter = dir_list; iter; iter = iter->next) {
|
||||
dir = g_build_filename((const char *)iter->data, "scripts");
|
||||
spawn_all_in_dir(dir);
|
||||
g_free(dir);
|
||||
}
|
||||
g_list_free(dir_list);
|
||||
dir_list = gst_registry_get_path_list(registry);
|
||||
for(iter = dir_list; iter; iter = iter->next) {
|
||||
dir = g_build_filename((const char *)iter->data, "scripts");
|
||||
spawn_all_in_dir(dir);
|
||||
g_free(dir);
|
||||
}
|
||||
g_list_free(dir_list);
|
||||
|
||||
registries = g_list_next (registries);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue