drop some useless return statements
This commit is contained in:
parent
bbd17d75ce
commit
9d626b6a12
15 changed files with 0 additions and 20 deletions
|
@ -760,14 +760,11 @@ void Characteristic_String(int character, int index, char *buf, int size)
|
|||
{
|
||||
strncpy(buf, ch->c[index].value.string, size-1);
|
||||
buf[size-1] = '\0';
|
||||
return;
|
||||
} //end if
|
||||
else
|
||||
{
|
||||
botimport.Print(PRT_ERROR, "characteristic %d is not a string\n", index);
|
||||
return;
|
||||
} //end else if
|
||||
return;
|
||||
} //end of the function Characteristic_String
|
||||
//===========================================================================
|
||||
//
|
||||
|
|
|
@ -1506,7 +1506,6 @@ void BotMatchVariable(bot_match_t *match, int variable, char *buf, int size)
|
|||
{
|
||||
strcpy(buf, "");
|
||||
} //end else
|
||||
return;
|
||||
} //end of the function BotMatchVariable
|
||||
//===========================================================================
|
||||
//
|
||||
|
|
|
@ -691,7 +691,6 @@ void BotGoalName(int number, char *name, int size)
|
|||
} //end for
|
||||
} //end for
|
||||
strcpy(name, "");
|
||||
return;
|
||||
} //end of the function BotGoalName
|
||||
//===========================================================================
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue