Skip to content

Commit 93a96cc

Browse files
committed
Merge branch 'jc/unused-symbols'
Code cleanup. * jc/unused-symbols: remote.[ch]: parse_push_cas_option() can be static
2 parents cb054eb + 8668976 commit 93a96cc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

remote.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2279,7 +2279,7 @@ static struct push_cas *add_cas_entry(struct push_cas_option *cas,
22792279
return entry;
22802280
}
22812281

2282-
int parse_push_cas_option(struct push_cas_option *cas, const char *arg, int unset)
2282+
static int parse_push_cas_option(struct push_cas_option *cas, const char *arg, int unset)
22832283
{
22842284
const char *colon;
22852285
struct push_cas *entry;

remote.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@ struct push_cas_option {
290290
};
291291

292292
extern int parseopt_push_cas_option(const struct option *, const char *arg, int unset);
293-
extern int parse_push_cas_option(struct push_cas_option *, const char *arg, int unset);
294293

295294
extern int is_empty_cas(const struct push_cas_option *);
296295
void apply_push_cas(struct push_cas_option *, struct remote *, struct ref *);

0 commit comments

Comments
 (0)