Commit 5659b77a authored by David Schleef's avatar David Schleef
Browse files

Remove the superfluous use of { }

Original commit message from CVS:
Remove the superfluous use of { }
parent 7cd51262
...@@ -86,6 +86,10 @@ int main (int argc,char *argv[]) ...@@ -86,6 +86,10 @@ int main (int argc,char *argv[])
while (registries) { while (registries) {
GstRegistry *registry = GST_REGISTRY (registries->data); GstRegistry *registry = GST_REGISTRY (registries->data);
GList *dir_list;
GList *iter;
char *dir;
if (path_spill) if (path_spill)
{ {
GList *iter; GList *iter;
...@@ -126,19 +130,13 @@ int main (int argc,char *argv[]) ...@@ -126,19 +130,13 @@ int main (int argc,char *argv[])
} }
} }
{ dir_list = gst_registry_get_path_list(registry);
GList *dir_list; for(iter = dir_list; iter; iter = iter->next) {
GList *iter; dir = g_build_filename((const char *)iter->data, "scripts");
char *dir; spawn_all_in_dir(dir);
g_free(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);
} }
g_list_free(dir_list);
registries = g_list_next (registries); registries = g_list_next (registries);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment