remove extra parens

Project: http://git-wip-us.apache.org/repos/asf/trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafodion/commit/49047116
Tree: http://git-wip-us.apache.org/repos/asf/trafodion/tree/49047116
Diff: http://git-wip-us.apache.org/repos/asf/trafodion/diff/49047116

Branch: refs/heads/master
Commit: 4904711603eaf50a2852bf4685187de2a14fca63
Parents: 7c27c14
Author: Sandhya Sundaresan <[email protected]>
Authored: Thu Jan 18 23:05:40 2018 +0000
Committer: Sandhya Sundaresan <[email protected]>
Committed: Thu Jan 18 23:05:40 2018 +0000

----------------------------------------------------------------------
 core/sql/cli/Cli.cpp | 22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafodion/blob/49047116/core/sql/cli/Cli.cpp
----------------------------------------------------------------------
diff --git a/core/sql/cli/Cli.cpp b/core/sql/cli/Cli.cpp
index 72d6731..a3ba081 100644
--- a/core/sql/cli/Cli.cpp
+++ b/core/sql/cli/Cli.cpp
@@ -9612,16 +9612,14 @@ Lng32 SQLCLI_LOBddlInterface
         Int32 rc= 
ExpLOBoper::initLOBglobal(exLobGlob,currContext.exHeap(),&currContext,hdfsServer,hdfsPort);
         if (rc)
           {
-            {
-              cliRC = 0;
-               ComDiagsArea * da = &diags;
-               ExRaiseSqlError(currContext.exHeap(), &da, 
+            cliRC = 0;
+            ComDiagsArea * da = &diags;
+            ExRaiseSqlError(currContext.exHeap(), &da, 
                            (ExeErrorCode)(8442), NULL, &cliRC    , 
                            &rc, NULL, (char*)"ExpLOBInterfaceCreate",
 
                            getLobErrStr(rc));
-               goto error_return;
-             }
+            goto error_return;
           }
           
        for (Lng32 i = 0; i < numLOBs; i++)
@@ -9743,16 +9741,14 @@ Lng32 SQLCLI_LOBddlInterface
         Int32 rc= 
ExpLOBoper::initLOBglobal(exLobGlob,currContext.exHeap(),&currContext,hdfsServer,hdfsPort);
         if (rc)
           {
-            {
-              cliRC = 0;
-               ComDiagsArea * da = &diags;
-               ExRaiseSqlError(currContext.exHeap(), &da, 
+            cliRC = 0;
+            ComDiagsArea * da = &diags;
+            ExRaiseSqlError(currContext.exHeap(), &da, 
                            (ExeErrorCode)(8442), NULL, &cliRC    , 
                            &rc, NULL, (char*)"ExpLOBInterfaceCreate",
-
                            getLobErrStr(rc));
-               goto error_return;
-             }
+            goto error_return;
+             
           }
         for (Lng32 i = 0; i < numLOBs; i++)
          {

Reply via email to