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
1 changed files with 2 additions and 6 deletions

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. */