Changeset 19806 for trunk/FACT++


Ignore:
Timestamp:
10/27/19 13:08:15 (5 years ago)
Author:
tbretz
Message:
Some improvements to first/max warning:
Location:
trunk/FACT++/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/fits2sql.cc

    r19804 r19806  
    245245    const vector<string> notsigned = conf.Vec<string>("unsigned");
    246246
    247     if (first>=max)
     247    if (max && first>=max)
    248248        cerr << "WARNING: Resource `first` (" << first << ") exceeds `max` (" << max << ")" << endl;
    249249
  • trunk/FACT++/src/root2csv.cc

    r19804 r19806  
    270270    const auto  autoalias = conf.Vec<Configuration::Map>("auto-alias");
    271271
     272    if (max && first>=max)
     273        cerr << "WARNING: Resource `first` (" << first << ") exceeds `max` (" << max << ")" << endl;
     274
    272275    // -------------------------------------------------------------------------
    273276
Note: See TracChangeset for help on using the changeset viewer.