Commit 573617ce authored by osku's avatar osku

dict_remove_db_name: Remove useless 'if'.

parent 36a5c882
......@@ -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);
}
/************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment