Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
d592f665
Commit
d592f665
authored
Nov 20, 2014
by
Olivier Bertrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Remove gcc warning on variable n set but not used
modified: storage/connect/odbconn.cpp
parent
c144cf38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
storage/connect/odbconn.cpp
storage/connect/odbconn.cpp
+2
-4
No files found.
storage/connect/odbconn.cpp
View file @
d592f665
...
@@ -2373,8 +2373,6 @@ int ODBConn::GetCatInfo(CATPARM *cap)
...
@@ -2373,8 +2373,6 @@ int ODBConn::GetCatInfo(CATPARM *cap)
/***********************************************************************/
/***********************************************************************/
PQRYRES
ODBConn
::
AllocateResult
(
PGLOBAL
g
)
PQRYRES
ODBConn
::
AllocateResult
(
PGLOBAL
g
)
{
{
//char *fmt, v;
int
n
;
bool
uns
;
bool
uns
;
PODBCCOL
colp
;
PODBCCOL
colp
;
PCOLRES
*
pcrp
,
crp
;
PCOLRES
*
pcrp
,
crp
;
...
@@ -2401,8 +2399,8 @@ PQRYRES ODBConn::AllocateResult(PGLOBAL g)
...
@@ -2401,8 +2399,8 @@ PQRYRES ODBConn::AllocateResult(PGLOBAL g)
qrp
->
Nblin
=
0
;
qrp
->
Nblin
=
0
;
qrp
->
Cursor
=
0
;
qrp
->
Cursor
=
0
;
for
(
n
=
1
,
colp
=
(
PODBCCOL
)
m_Tdb
->
Columns
;
colp
;
for
(
colp
=
(
PODBCCOL
)
m_Tdb
->
Columns
;
colp
;
colp
=
(
PODBCCOL
)
colp
->
GetNext
())
colp
=
(
PODBCCOL
)
colp
->
GetNext
())
if
(
!
colp
->
IsSpecial
())
{
if
(
!
colp
->
IsSpecial
())
{
*
pcrp
=
(
PCOLRES
)
PlugSubAlloc
(
g
,
NULL
,
sizeof
(
COLRES
));
*
pcrp
=
(
PCOLRES
)
PlugSubAlloc
(
g
,
NULL
,
sizeof
(
COLRES
));
crp
=
*
pcrp
;
crp
=
*
pcrp
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment