drop some useless return statements
This commit is contained in:
1 parent
bbd17d75ce
commit
9d626b6a12
15 files changed
-20
No files matched your search
@@ -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
|
||||
//===========================================================================
|
||||
//
|
||||
|
||||
Reference in new issue
Block a user