Thanks, will replace with these two and merge to 'next'.
I'll squash this in to [5/5], which is the same fix-up as I queued the
previous round to 'pu', to avoid decl-after-statement, by the way.
builtin-remote.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/builtin-remote.c b/builtin-remote.c
index f377722..3f6f5c2 100644
--- a/builtin-remote.c
+++ b/builtin-remote.c
@@ -1311,8 +1311,10 @@ static int get_one_entry(struct remote *remote, void *priv)
static int show_all(void)
{
struct string_list list = { NULL, 0, 0 };
+ int result;
+
list.strdup_strings = 1;
- int result = for_each_remote(get_one_entry, &list);
+ result = for_each_remote(get_one_entry, &list);
if (!result) {
int i;