Changeset 537

Show
Ignore:
Timestamp:
01/04/10 17:37:46 (14 years ago)
Author:
bhilburn
Message:

Removing useless return types from CRS functions
'LoadRadioConfiguration?' and 'UpdateParameterPerformance?'.

Location:
vtcross/trunk/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • vtcross/trunk/src/include/vtcross/cross_shell.h

    r518 r537  
    8282         * be passed to the CRS from the radio host platform if necessary. 
    8383         */ 
    84         int32_t LoadRadioConfiguration(const char* radioConfig, Parameter* &pList, \ 
     84        void LoadRadioConfiguration(const char* radioConfig, Parameter* &pList, \ 
    8585            Utility* &uList, Observable* &oList, Radio_Info* radioInfo); 
    8686    private: 
     
    126126        /*! TODO 
    127127         */ 
    128         bool UpdateParameterPerformance(int32_t socketFD); 
     128        void UpdateParameterPerformance(int32_t socketFD); 
    129129 
    130130        /*! TODO 
  • vtcross/trunk/src/shell/CognitiveRadioShell.cpp

    r521 r537  
    323323} 
    324324 
    325 int32_t  
     325void  
    326326CognitiveRadioShell::LoadRadioConfiguration(const char* radioConfig, \ 
    327327        Parameter* &pList, Utility* &uList, Observable* &oList, \ 
     
    490490    radioInfo->numParameters = item_count; 
    491491    LOG("Cognitive Radio Shell:: Parsed %d parameters.\n", radioInfo->numParameters); 
    492  
    493     /* TODO always returning one seems useless? */ 
    494     return 1; 
    495492} 
    496493 
     
    597594} 
    598595 
    599 // TODO point of always returning 1? 
    600 bool 
     596 
     597void 
    601598CognitiveRadioShell::UpdateParameterPerformance(int32_t socketFD) 
    602599{ 
     
    663660    delete [] p; 
    664661    delete [] o; 
    665      
    666     return true; 
    667662} 
    668663