Fix return from some functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@631 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
		@@ -1417,10 +1417,9 @@ static int bye(int argc, char **argv)
 | 
				
			|||||||
	/* reset options */
 | 
						/* reset options */
 | 
				
			||||||
	tninit();
 | 
						tninit();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    if ((argc != 2) || (strcmp(argv[1], "fromquit") != 0)) {
 | 
					    if ((argc != 2) || (strcmp(argv[1], "fromquit") != 0)) 
 | 
				
			||||||
	longjmp(toplevel, 1);
 | 
						longjmp(toplevel, 1);
 | 
				
			||||||
	/* NOTREACHED */
 | 
					    return 0;	/* NOTREACHED */
 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*VARARGS*/
 | 
					/*VARARGS*/
 | 
				
			||||||
@@ -1428,7 +1427,7 @@ int quit(void)
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
	(void) call(bye, "bye", "fromquit", 0);
 | 
						(void) call(bye, "bye", "fromquit", 0);
 | 
				
			||||||
	Exit(0);
 | 
						Exit(0);
 | 
				
			||||||
	/*NOTREACHED*/
 | 
						return 0; /*NOTREACHED*/
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*VARARGS*/
 | 
					/*VARARGS*/
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user