Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'parse-options.c')
-rw-r--r--parse-options.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/parse-options.c b/parse-options.c
index ae88885d4d..2fd5edbf53 100644
--- a/parse-options.c
+++ b/parse-options.c
@@ -5,12 +5,6 @@
#define OPT_SHORT 1
#define OPT_UNSET 2
-static inline const char *skip_prefix(const char *str, const char *prefix)
-{
- size_t len = strlen(prefix);
- return strncmp(str, prefix, len) ? NULL : str + len;
-}
-
static int opterror(const struct option *opt, const char *reason, int flags)
{
if (flags & OPT_SHORT)