Skip to content

Commit b391e1f

Browse files
committed
patch 9.0.1210: compiler complains about declaration after label
Problem: Compiler complains about declaration after label. Solution: Move declaration to beginning of block (John Marriott)
1 parent 29ac5df commit b391e1f

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/os_mswin.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,6 +1389,7 @@ mch_print_init(prt_settings_T *psettings, char_u *jobname, int forceit)
13891389
DEVMODEW *mem;
13901390
DEVNAMES *devname;
13911391
int i;
1392+
DWORD err;
13921393

13931394
bUserAbort = &(psettings->user_abort);
13941395
CLEAR_FIELD(prt_dlg);
@@ -1571,8 +1572,7 @@ mch_print_init(prt_settings_T *psettings, char_u *jobname, int forceit)
15711572
return TRUE;
15721573

15731574
init_fail_dlg:
1574-
DWORD err = CommDlgExtendedError();
1575-
1575+
err = CommDlgExtendedError();
15761576
if (err)
15771577
{
15781578
char_u *buf;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,8 @@ static char *(features[]) =
695695

696696
static int included_patches[] =
697697
{ /* Add new patch number below this line */
698+
/**/
699+
1210,
698700
/**/
699701
1209,
700702
/**/

0 commit comments

Comments
 (0)