1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-19 07:46:24 -05:00

cppcheck: Variable 'startflag' was assigned a value that is never used.

This commit is contained in:
Renaud 2016-05-19 11:20:21 +08:00
parent 1b2307e056
commit ef7207b421

6
main.c
View File

@ -297,13 +297,9 @@ int main(int argc, char **argv)
/* if invoked with no other startup files, /* if invoked with no other startup files,
run the system startup file here */ run the system startup file here */
if( startflag == FALSE) { if( (startflag == FALSE) && (startup( "") != TRUE))
if( startup( "") != TRUE)
mloutstr( "Default startup failed!") ; mloutstr( "Default startup failed!") ;
startflag = TRUE ;
}
discmd = TRUE; /* P.K. */ discmd = TRUE; /* P.K. */
/* if there are any files to read, read the first one! */ /* if there are any files to read, read the first one! */