Changeset 5308 for trunk/gui


Ignore:
Timestamp:
Apr 24, 2015, 6:53:46 PM (10 years ago)
Author:
ldelgass
Message:

fix compiler warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/src/RpDxToVtk.c

    r5305 r5308  
    600600            return TCL_ERROR;
    601601        }
    602         if (nPoints > 1 && (dx == dy == dz == 0.0)) {
     602        if (nPoints > 1 && ((dx == dy) && (dx == dz) && (dx == 0.0))) {
    603603            fprintf(stderr, "Invalid deltas in DX file: %g %g %g\n", dx, dy, dz);
    604604            return TCL_ERROR;
Note: See TracChangeset for help on using the changeset viewer.