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
|
||||
//===========================================================================
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue