aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-07-02 09:27:57 -0700
committerJunio C Hamano <gitster@pobox.com>2024-07-02 09:27:57 -0700
commitc061c1d78f39c73861a9ae486120fb8dcf5641e3 (patch)
tree1f8e75dd1ef90b9a5d1dd818ed80afbb76f38610
parent00e1848087ee686ab723a0a688a29901712d01bf (diff)
parent3c295c87c250889be1fd635c195ef1cc0311bfa5 (diff)
downloadgit-c061c1d78f39c73861a9ae486120fb8dcf5641e3.tar.gz
Merge branch 'js/mingw-remove-unused-extern-decl' into maint-2.45
An unused extern declaration for mingw has been removed to prevent it from causing build failure. * js/mingw-remove-unused-extern-decl: mingw: drop bogus (and unneeded) declaration of `_pgmptr`
-rw-r--r--compat/mingw.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/compat/mingw.c b/compat/mingw.c
index 6b06ea540f..8aa3ed57c9 100644
--- a/compat/mingw.c
+++ b/compat/mingw.c
@@ -26,7 +26,6 @@ static const int delay[] = { 0, 1, 10, 20, 40 };
void open_in_gdb(void)
{
static struct child_process cp = CHILD_PROCESS_INIT;
- extern char *_pgmptr;
strvec_pushl(&cp.args, "mintty", "gdb", NULL);
strvec_pushf(&cp.args, "--pid=%d", getpid());