mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Quiet down compiler warnings.
This commit is contained in:
parent
443dced56c
commit
e81097cf46
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2420
@ -56,7 +56,7 @@
|
||||
* W. Metzenthen June 1994.
|
||||
*
|
||||
*
|
||||
* $Id: poly_sin.c,v 1.3 1994/04/29 21:23:30 gclarkii Exp $
|
||||
* $Id: poly_sin.c,v 1.4 1994/06/10 07:44:41 rich Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -138,14 +138,14 @@ poly_sine(FPU_REG * arg, FPU_REG * result)
|
||||
accum.exp = 0;
|
||||
|
||||
/* Do the basic fixed point polynomial evaluation */
|
||||
polynomial((u_int *) &(accum.sigl), &(Xx4.sigl), lterms, HIPOWER - 1);
|
||||
polynomial((u_int *) &(accum.sigl), (u_int *)&(Xx4.sigl), lterms, HIPOWER - 1);
|
||||
|
||||
/* will be a valid positive nr with expon = 0 */
|
||||
*(short *) &(negaccum.sign) = 0;
|
||||
negaccum.exp = 0;
|
||||
|
||||
/* Do the basic fixed point polynomial evaluation */
|
||||
polynomial((u_int *) &(negaccum.sigl), &(Xx4.sigl), negterms, HIPOWER - 1);
|
||||
polynomial((u_int *) &(negaccum.sigl), (u_int *)&(Xx4.sigl), negterms, HIPOWER - 1);
|
||||
mul64((long long *) &(Xx2.sigl), (long long *) &(negaccum.sigl),
|
||||
(long long *) &(negaccum.sigl));
|
||||
|
||||
|
@ -56,7 +56,7 @@
|
||||
* W. Metzenthen June 1994.
|
||||
*
|
||||
*
|
||||
* $Id: reg_compare.c,v 1.2 1994/04/29 21:30:16 gclarkii Exp $
|
||||
* $Id: reg_compare.c,v 1.3 1994/06/10 07:44:47 rich Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -183,7 +183,7 @@ compare(FPU_REG * b)
|
||||
int
|
||||
compare_st_data(void)
|
||||
{
|
||||
int f, c;
|
||||
int f = 0, c;
|
||||
|
||||
c = compare(&FPU_loaded_data);
|
||||
|
||||
@ -224,7 +224,7 @@ compare_st_data(void)
|
||||
static int
|
||||
compare_st_st(int nr)
|
||||
{
|
||||
int f, c;
|
||||
int f = 0, c;
|
||||
|
||||
if (!NOT_EMPTY_0 || !NOT_EMPTY(nr)) {
|
||||
setcc(SW_C3 | SW_C2 | SW_C0);
|
||||
@ -271,7 +271,7 @@ compare_st_st(int nr)
|
||||
static int
|
||||
compare_u_st_st(int nr)
|
||||
{
|
||||
int f, c;
|
||||
int f = 0, c;
|
||||
|
||||
if (!NOT_EMPTY_0 || !NOT_EMPTY(nr)) {
|
||||
setcc(SW_C3 | SW_C2 | SW_C0);
|
||||
|
@ -56,7 +56,7 @@
|
||||
* W. Metzenthen June 1994.
|
||||
*
|
||||
*
|
||||
* $Id: reg_ld_str.c,v 1.2 1994/04/29 21:30:20 gclarkii Exp $
|
||||
* $Id: reg_ld_str.c,v 1.3 1994/06/10 07:44:52 rich Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -725,7 +725,7 @@ int
|
||||
reg_store_single(void)
|
||||
{
|
||||
float *single = (float *) FPU_data_address;
|
||||
long templ;
|
||||
long templ = 0;
|
||||
|
||||
if (FPU_st0_tag == TW_Valid) {
|
||||
int exp;
|
||||
|
Loading…
Reference in New Issue
Block a user