1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-01 14:22:27 +00:00

Remove dead stores. (#240)

This commit is contained in:
Bruce Mitchener
2021-01-20 12:23:26 +07:00
committed by GitHub
parent 0a057dec6b
commit 6f7ec059bc
13 changed files with 14 additions and 48 deletions

View File

@@ -79,13 +79,10 @@ int sysout_loader(const char * sysout_file_name, int sys_size)
struct stat stat_buf; /* file stat buf */
int i, vp;
int machinetype;
char errmsg[255];
int j = 0;
machinetype = 0;
/* Checks for specifying the process size (phase I) */
/* If sys_size == 0 figure out the proper size later */
if ((sys_size != 0) && (sys_size < DEFAULT_PRIME_SYSOUTSIZE)) {
@@ -222,8 +219,6 @@ int sysout_loader(const char * sysout_file_name, int sys_size)
exit(1);
}
machinetype = ifpage.machinetype;
if ((stat_buf.st_size & (BYTESPER_PAGE - 1)) != 0)
printf("CAUTION::not an integral number of pages. sysout & 0x1ff = 0x%x\n",
(int)(stat_buf.st_size & (BYTESPER_PAGE - 1)));