mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
dict_remove_db_name: Remove useless 'if'.
This commit is contained in:
parent
b1449ab934
commit
76d8e7dcfa
1 changed files with 3 additions and 4 deletions
|
@ -243,11 +243,10 @@ dict_remove_db_name(
|
|||
const char* name) /* in: table name in the form
|
||||
dbname '/' tablename */
|
||||
{
|
||||
const char* s;
|
||||
s = strchr(name, '/');
|
||||
const char* s = strchr(name, '/');
|
||||
ut_a(s);
|
||||
if (s) s++;
|
||||
return(s);
|
||||
|
||||
return(s + 1);
|
||||
}
|
||||
|
||||
/************************************************************************
|
||||
|
|
Loading…
Add table
Reference in a new issue