1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-11-14 16:46:04 -05:00

Fix CID114555: Unchecked return value.

This commit is contained in:
Renaud 2015-10-05 17:42:57 +08:00
parent fa96d9e63e
commit 4feb70b484

9
main.c
View File

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