Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8350 in orxonox.OLD for trunk/src/lib/shell


Ignore:
Timestamp:
Jun 13, 2006, 10:01:55 PM (19 years ago)
Author:
bensch
Message:

fixed out some warnings

Location:
trunk/src/lib/shell
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/shell/shell_buffer.cc

    r8145 r8350  
    9999    std::string inputBuffer = this->keepBuffer + line;
    100100
    101     int lineBegin = 0;
    102     int lineEnd = 0;
     101    unsigned int lineBegin = 0;
     102    unsigned int lineEnd = 0;
    103103    // adding all the new Lines
    104104    while (lineEnd < inputBuffer.size())
  • trunk/src/lib/shell/shell_command.cc

    r7771 r8350  
    149149  const ShellCommand* const ShellCommand::getCommandFromInput(const std::string& inputLine, unsigned int& paramBegin, std::vector<BaseObject*>* boList)
    150150  {
    151     ShellCommand::getCommandFromInput(SubString(inputLine, SubString::WhiteSpaces), paramBegin);
     151    return ShellCommand::getCommandFromInput(SubString(inputLine, SubString::WhiteSpaces), paramBegin);
    152152  }
    153153
     
    194194    if (cmdClass != NULL)
    195195    {
    196       const ShellCommand* retCmd;
     196      const ShellCommand* retCmd = NULL;
    197197      // Function/Command right after Class
    198198      if (strings.size() >= 1)
Note: See TracChangeset for help on using the changeset viewer.