From: Giuseppe Scrivano Date: Fri, 26 Aug 2016 15:35:17 +0000 (+0200) Subject: pull: use same name for parameter and documentation comment X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~4^2~48^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=47b0b4120a9bb3d68318b7e479b1314183857868;p=ostree.git pull: use same name for parameter and documentation comment Fixes this warning: src/libostree/ostree-repo-pull.c:2162: Warning: OSTree: ostree_repo_pull_with_options: unknown parameter 'remote_name_or_baseurl' in documentation comment, should be 'remote_name' Signed-off-by: Giuseppe Scrivano Closes: #472 Approved by: jlebon --- diff --git a/src/libostree/ostree-repo-pull.c b/src/libostree/ostree-repo-pull.c index 066233be..604e8254 100644 --- a/src/libostree/ostree-repo-pull.c +++ b/src/libostree/ostree-repo-pull.c @@ -3005,7 +3005,7 @@ out: gboolean ostree_repo_pull_with_options (OstreeRepo *self, - const char *remote_name, + const char *remote_name_or_baseurl, GVariant *options, OstreeAsyncProgress *progress, GCancellable *cancellable, diff --git a/src/libostree/ostree-repo.h b/src/libostree/ostree-repo.h index 5547473a..f1f9da41 100644 --- a/src/libostree/ostree-repo.h +++ b/src/libostree/ostree-repo.h @@ -1006,7 +1006,7 @@ ostree_repo_pull_one_dir (OstreeRepo *self, _OSTREE_PUBLIC gboolean ostree_repo_pull_with_options (OstreeRepo *self, - const char *remote_name, + const char *remote_name_or_baseurl, GVariant *options, OstreeAsyncProgress *progress, GCancellable *cancellable,