mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-18 07:16:23 -05:00
Avoid warning on unused declared label in Cygwin.
This commit is contained in:
parent
dab92e74ff
commit
033012f645
9
file.c
9
file.c
@ -267,18 +267,17 @@ int readin(const char *fname, boolean lockfl)
|
|||||||
|
|
||||||
bp = curbp; /* Cheap. */
|
bp = curbp; /* Cheap. */
|
||||||
#if (FILOCK && BSD) || SVR4
|
#if (FILOCK && BSD) || SVR4
|
||||||
if( lockfl && lockchk( fname) == ABORT)
|
if( lockfl && lockchk( fname) == ABORT) {
|
||||||
#if PKCODE
|
#if PKCODE
|
||||||
{
|
|
||||||
s = FIOFNF;
|
s = FIOFNF;
|
||||||
strcpy(bp->b_fname, "");
|
strcpy(bp->b_fname, "");
|
||||||
mloutstr( "(File in use)") ;
|
mloutstr( "(File in use)") ;
|
||||||
goto out;
|
|
||||||
}
|
|
||||||
#else
|
#else
|
||||||
return ABORT;
|
return ABORT;
|
||||||
#endif
|
#endif
|
||||||
|
} else
|
||||||
#endif
|
#endif
|
||||||
|
{
|
||||||
if( (status = bclear( bp)) != TRUE) /* Might be old. */
|
if( (status = bclear( bp)) != TRUE) /* Might be old. */
|
||||||
return status ;
|
return status ;
|
||||||
|
|
||||||
@ -361,8 +360,8 @@ int readin(const char *fname, boolean lockfl)
|
|||||||
eolname[ found_eol]) ;
|
eolname[ found_eol]) ;
|
||||||
ffclose() ; /* Ignore errors. */
|
ffclose() ; /* Ignore errors. */
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
out:
|
|
||||||
for (wp = wheadp; wp != NULL; wp = wp->w_wndp) {
|
for (wp = wheadp; wp != NULL; wp = wp->w_wndp) {
|
||||||
if (wp->w_bufp == curbp) {
|
if (wp->w_bufp == curbp) {
|
||||||
wp->w_linep = lforw(curbp->b_linep);
|
wp->w_linep = lforw(curbp->b_linep);
|
||||||
|
Loading…
Reference in New Issue
Block a user