Commit f829ab49 authored by Jeroen Vreeken's avatar Jeroen Vreeken
Browse files

fix build warnings

parent 7d34f9ad
......@@ -539,7 +539,7 @@ Deep (int ientry, sat_t *sat)
sinq,sinzf,sis,sl,sll,sls,stem,temp,temp1,x1,x2,
x2li,x2omi,x3,x4,x5,x6,x7,x8,xl,xldot,xmao,xnddt,
xndot,xno2,xnodce,xnoi,xomi,xpidot,z1,z11,z12,z13,
z2,z21,z22,z23,z3,z31,z32,z33,ze,zf,zm,zmo,zn,
z2,z21,z22,z23,z3,z31,z32,z33,ze,zf,zm,/*zmo,*/zn,
zsing,zsinh,zsini,zcosg,zcosh,zcosi,delt=0,ft=0;
switch (ientry) {
......@@ -591,7 +591,7 @@ Deep (int ientry, sat_t *sat)
cc = c1ss;
zn = zns;
ze = zes;
zmo = sat->dps.zmos;
// zmo = sat->dps.zmos;
xnoi = 1.0 / sat->dps.xnq;
/* Loop breaks when Solar terms are done a second */
......@@ -690,7 +690,7 @@ Deep (int ientry, sat_t *sat)
zn = znl;
cc = c1l;
ze = zel;
zmo = sat->dps.zmol;
// zmo = sat->dps.zmol;
sat->flags |= LUNAR_TERMS_DONE_FLAG;
} /* End of for(;;) */
......
......@@ -43,8 +43,6 @@ typedef union {
} f32_t;
static void setpoint_command_clean(struct setpoint_command *cmd);
static int setpoint_command_init_spg(
struct setpoint_command *cmd)
{
......@@ -143,16 +141,6 @@ struct setpoint_command *setpoint_command_init(char *host, int port,
return cmd;
}
static void setpoint_command_clean(struct setpoint_command *cmd)
{
if (cmd->fd >= 0)
close(cmd->fd);
free(cmd->spg_name);
free(cmd->id);
free(cmd->host);
free(cmd);
}
int setpoint_command_setpoint(struct setpoint_command *sp_cmd, float sp)
{
int ret;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment