1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-18 07:16:23 -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

8
main.c
View File

@ -297,12 +297,8 @@ int main(int argc, char **argv)
/* if invoked with no other startup files,
run the system startup file here */
if( startflag == FALSE) {
if( startup( "") != TRUE)
mloutstr( "Default startup failed!") ;
startflag = TRUE ;
}
if( (startflag == FALSE) && (startup( "") != TRUE))
mloutstr( "Default startup failed!") ;
discmd = TRUE; /* P.K. */