fix clang warning

clang complained about the undefined g_rmdir (because we didn't include
gstdio.h), so we use the regular rmdir instead.
tingping/wmclass
Alexander Larsson 2017-05-11 10:55:26 +02:00
parent 8c78700363
commit fcfc732904
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ builder_source_bzr_download (BuilderSource *source,
return flatpak_fail (error, "Can't create temporary directory");
/* bzr can't check out to the empty dir, so remove it */
g_rmdir (path_tmp);
rmdir (path_tmp);
mirror_dir_tmp = g_file_new_for_path (path_tmp);
filename_tmp = g_file_get_basename (mirror_dir_tmp);