From: Martin F. <m_f...@us...> - 2009-09-16 18:32:37
|
Update of /cvsroot/xtrkcad-fork/xtrkcad/app/bin In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23504 Modified Files: cblock.c ChangeLog cswitchmotor.c Log Message: Remove unused locals Index: cswitchmotor.c =================================================================== RCS file: /cvsroot/xtrkcad-fork/xtrkcad/app/bin/cswitchmotor.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** cswitchmotor.c 5 Sep 2009 16:40:53 -0000 1.3 --- cswitchmotor.c 16 Sep 2009 18:32:24 -0000 1.4 *************** *** 5,8 **** --- 5,11 ---- * ------------------------------------------------------------------ * Modification History: $Log$ + * Modification History: Revision 1.4 2009/09/16 18:32:24 m_fischer + * Modification History: Remove unused locals + * Modification History: * Modification History: Revision 1.3 2009/09/05 16:40:53 m_fischer * Modification History: Make layout control commands a build-time choice *************** *** 273,277 **** TRKINX_T trkindex; wIndex_t index; ! track_p trk, strk; switchmotorData_p xx; char *name, *normal, *reverse, *pointsense; --- 276,280 ---- TRKINX_T trkindex; wIndex_t index; ! track_p trk; switchmotorData_p xx; char *name, *normal, *reverse, *pointsense; *************** *** 450,454 **** { track_p trk,btrk; - char msg[STR_SIZE]; switchmotorData_p xx; --- 453,456 ---- *************** *** 492,496 **** static STATUS_T CmdSwitchMotor (wAction_t action, coOrd pos ) { - wIndex_t switchmotorIndex; fprintf(stderr,"*** CmdSwitchMotor(%08x,{%f,%f})\n",action,pos.x,pos.y); --- 494,497 ---- Index: cblock.c =================================================================== RCS file: /cvsroot/xtrkcad-fork/xtrkcad/app/bin/cblock.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** cblock.c 5 Sep 2009 16:40:53 -0000 1.3 --- cblock.c 16 Sep 2009 18:32:24 -0000 1.4 *************** *** 5,8 **** --- 5,11 ---- * ------------------------------------------------------------------ * Modification History: $Log$ + * Modification History: Revision 1.4 2009/09/16 18:32:24 m_fischer + * Modification History: Remove unused locals + * Modification History: * Modification History: Revision 1.3 2009/09/05 16:40:53 m_fischer * Modification History: Make layout control commands a build-time choice *************** *** 248,255 **** EPINX_T ep, epCnt, epN; int inx; - coOrd orig, size; track_p trk, trk1; DIST_T dist; ! ANGLE_T angle, angleN; int pathElemStart = 0; coOrd endPtOrig = zero; --- 251,257 ---- EPINX_T ep, epCnt, epN; int inx; track_p trk, trk1; DIST_T dist; ! ANGLE_T angle; int pathElemStart = 0; coOrd endPtOrig = zero; *************** *** 306,310 **** { BOOL_T rc = TRUE; - EPINX_T ep, epCnt; wIndex_t iTrack; blockData_p xx = GetblockData(t); --- 308,311 ---- *************** *** 499,503 **** { track_p trk = NULL; - TRKTYP_T trkType; fprintf(stderr,"*** NewBlockDialog()\n"); --- 500,503 ---- *************** *** 582,586 **** { track_p trk,btrk; - char msg[STR_SIZE]; blockData_p xx; --- 582,585 ---- *************** *** 624,629 **** static STATUS_T CmdBlock (wAction_t action, coOrd pos ) { - wIndex_t blockIndex; - fprintf(stderr,"*** CmdBlock(%08x,{%f,%f})\n",action,pos.x,pos.y); --- 623,626 ---- Index: ChangeLog =================================================================== RCS file: /cvsroot/xtrkcad-fork/xtrkcad/app/bin/ChangeLog,v retrieving revision 1.76 retrieving revision 1.77 diff -C2 -d -r1.76 -r1.77 *** ChangeLog 16 Aug 2009 13:26:41 -0000 1.76 --- ChangeLog 16 Sep 2009 18:32:24 -0000 1.77 *************** *** 1,2 **** --- 1,6 ---- + Sep 16, 2009 + FIX: Martin Fischer <m_f...@us...> + cblock.c, cswitchmotor.c: remove some unused locals + Aug 16, 2009 FIX: Martin Fischer <m_f...@us...> |