From 033012f645876e2cf15188bbce96c9c2f825d7d7 Mon Sep 17 00:00:00 2001 From: Renaud Fivet Date: Thu, 11 Jan 2018 14:56:56 +0800 Subject: [PATCH] Avoid warning on unused declared label in Cygwin. --- file.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/file.c b/file.c index d1bce00..89915a8 100644 --- a/file.c +++ b/file.c @@ -267,18 +267,17 @@ int readin(const char *fname, boolean lockfl) bp = curbp; /* Cheap. */ #if (FILOCK && BSD) || SVR4 - if( lockfl && lockchk( fname) == ABORT) + if( lockfl && lockchk( fname) == ABORT) { #if PKCODE - { s = FIOFNF; strcpy(bp->b_fname, ""); mloutstr( "(File in use)") ; - goto out; - } #else return ABORT; #endif + } else #endif + { if( (status = bclear( bp)) != TRUE) /* Might be old. */ return status ; @@ -361,8 +360,8 @@ int readin(const char *fname, boolean lockfl) eolname[ found_eol]) ; ffclose() ; /* Ignore errors. */ } + } -out: for (wp = wheadp; wp != NULL; wp = wp->w_wndp) { if (wp->w_bufp == curbp) { wp->w_linep = lforw(curbp->b_linep);