Changeset 11416


Ignore:
Timestamp:
07/15/11 13:42:49 (13 years ago)
Author:
tbretz
Message:
Removed an obsolete bool.
File:
1 edited

Legend:

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

    r11415 r11416  
    10621062    //first, let's backup the datalogger/message service subscription
    10631063    shared_ptr<DimStampedInfo> messageBackup;
    1064     bool dataloggerMessageFound = false;
    10651064    const SubscriptionsListType::iterator x = fServiceSubscriptions.find("DATA_LOGGER");
    10661065    if (x != fServiceSubscriptions.end())
     
    10681067        const map<string, SubscriptionType>::iterator y = x->second.find("MESSAGE");
    10691068        if (y != x->second.end())
    1070         {
    1071             dataloggerMessageFound = true;
    10721069            messageBackup = y->second.dimInfo;
    1073         }
    10741070    }
    10751071
     
    10961092
    10971093    //release message service before closing nightly log file
    1098     if (dataloggerMessageFound)
     1094    if (messageBackup)
    10991095        messageBackup.reset();
    11001096
Note: See TracChangeset for help on using the changeset viewer.