Show
Ignore:
Timestamp:
08/05/09 11:53:31 (15 years ago)
Author:
trnewman
Message:

Cleaning up warnings

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vtcross/trunk/src/cognitive_engines/CBR_CE/CognitiveEngine.cpp

    r411 r418  
    124124        columnObsIndex++; 
    125125    }   
    126     obsList[columnObsIndex] = "utility"; 
     126    obsList[columnObsIndex] = (char *) "utility"; 
    127127 
    128128    size_t columnIndex = 0; 
     
    273273            LOG("Cognitive Engine:: Processing parameters....\n"); 
    274274 
    275             Parameter *solutionSet; 
     275            //Parameter *solutionSet; 
    276276             
    277277            //solutionSet = GetSolution(o,cp); 
     
    281281            LOG("Cognitive Engine:: Sending Optimal Parameters to Application.\n"); 
    282282            char numParametersChar[10]; 
    283             char solutionValue[50]; 
     283            //char solutionValue[50]; 
    284284            sprintf(numParametersChar, "%i", radioInfo->numParameters); 
    285285            SendMessage(commandSocketFD, numParametersChar); 
     
    736736        allNameIndex++; 
    737737    } 
    738     allNames[allNameIndex] = "utility"; 
     738    allNames[allNameIndex] = (char *)"utility"; 
    739739 
    740740    // Add row to CBR.  
     
    789789        columnIndex++; 
    790790    }    
    791     cols[columnIndex] = "utility"; 
     791    cols[columnIndex] = (char *) "utility"; 
    792792 
    793793    myCBR = cbr_create(filename, tablename, cols, numberColumns);