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( ...@@ -243,11 +243,10 @@ dict_remove_db_name(
const char* name) /* in: table name in the form const char* name) /* in: table name in the form
dbname '/' tablename */ dbname '/' tablename */
{ {
const char* s; const char* s = strchr(name, '/');
s = strchr(name, '/');
ut_a(s); 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