Skip to content

Commit

Permalink
Merge branch 'js/mingw-remove-unused-extern-decl' into maint-2.45
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
gitster committed Jul 2, 2024
2 parents 00e1848 + 3c295c8 commit c061c1d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compat/mingw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit c061c1d

Please sign in to comment.