IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 15, 2005, 3:00:59 PM (21 years ago)
Author:
eugene
Message:

cleanup errors caught by Wall,Werror

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kapa/graph/DrawFrame.c

    r2473 r4769  
    4747}
    4848
    49 DrawTick (int fx, int fy, int dfx, int dfy,
    50           int P, double min, double max,
    51           double value, int mode, int naxis) {
     49void DrawTick (int fx, int fy, int dfx, int dfy,
     50               int P, double min, double max,
     51               double value, int mode, int naxis) {
    5252 
    5353  int x, y, dx, dy, pos, dir, fontsize;
    54   double tmp, size, n;
     54  double size, n;
    5555  char string[64], *fontname;
    5656
     
    9292    y = fy + (value-min)*dfy/(max - min) + dy;
    9393    if (fabs(value/(max-min)) < 0.001) { value = 0.0; }
    94     sprintf (string, "%4g\0", value);
     94    sprintf (string, "%4g", value);
    9595    DrawRotText (x, y, string, pos, 0.0);
    9696  }
     
    9999
    100100
    101 AxisTickScale (Axis *axis, double *major, double *minor) {
     101void AxisTickScale (Axis *axis, double *major, double *minor) {
    102102
    103103  double range, lrange, factor, mantis, fmantis, power;
Note: See TracChangeset for help on using the changeset viewer.