From 4a9bdd7788126e420abd8a78d3f54ea4d438d88e Mon Sep 17 00:00:00 2001
From: unknown <bar@mysql.com>
Date: Wed, 19 Apr 2006 11:11:47 +0500
Subject: [PATCH] item_xmlfunc.cc:   After review minor fixes for bug#16319  
 Thanks to Gluh for suggestions.

sql/item_xmlfunc.cc:
  After review minor fixes.
  Thanks Gluh for suggestions.
---
 sql/item_xmlfunc.cc | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sql/item_xmlfunc.cc b/sql/item_xmlfunc.cc
index 6e5941cccf9..a245e3b1b33 100644
--- a/sql/item_xmlfunc.cc
+++ b/sql/item_xmlfunc.cc
@@ -1250,7 +1250,6 @@ static MY_XPATH_FUNC my_func_names[] =
   {"substring"        , 9  ,  2 , 3  , create_func_substr},
   {"translate"        , 9  ,  3 , 3  , 0},
 
-
   {"local-name"       , 10 ,  0 , 1  , 0},
   {"starts-with"      , 11 ,  2 , 2  , 0},
   {"namespace-uri"    , 13 ,  0 , 1  , 0},
@@ -1849,8 +1848,7 @@ static int my_xpath_parse_FunctionCall(MY_XPATH *xpath)
     {
       if (nargs < func->minargs)
         return 0;
-      else
-        goto right_paren;
+      goto right_paren;
     }
     args[nargs++]= xpath->item;
     if (!my_xpath_parse_term(xpath, MY_XPATH_LEX_COMMA))
-- 
2.30.9