Fix warnings.

This commit is contained in:
gwr 1996-12-17 19:27:51 +00:00
parent 661c8f1ae0
commit b8c288d184

View File

@ -1,4 +1,4 @@
/* $NetBSD: fpu_emulate.c,v 1.12 1996/10/30 14:44:47 is Exp $ */
/* $NetBSD: fpu_emulate.c,v 1.13 1996/12/17 19:27:51 gwr Exp $ */
/*
* Copyright (c) 1995 Gordon W. Ross
@ -117,6 +117,8 @@ fpu_emulate(frame, fpf)
printf("ENTERING fpu_emulate: FPSR=%08x, FPCR=%08x\n",
fe.fe_fpsr, fe.fe_fpcr);
}
/* always set this (to avoid a warning) */
savedpc = frame->f_pc;
if (frame->f_format == 4) {
/*
* A format 4 is generated by the 68{EC,LC}040. The PC is
@ -129,7 +131,6 @@ fpu_emulate(frame, fpf)
* sizes of all instructions we run across. This may not
* be true, so we save the PC in order to restore it later.
*/
savedpc = frame->f_pc;
frame->f_pc = frame->f_fmt4.f_fslw;
}