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:
parent
1b2307e056
commit
ef7207b421
6
main.c
6
main.c
@ -297,13 +297,9 @@ 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)
|
||||
if( (startflag == FALSE) && (startup( "") != TRUE))
|
||||
mloutstr( "Default startup failed!") ;
|
||||
|
||||
startflag = TRUE ;
|
||||
}
|
||||
|
||||
discmd = TRUE; /* P.K. */
|
||||
|
||||
/* if there are any files to read, read the first one! */
|
||||
|
Loading…
Reference in New Issue
Block a user