Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tpcclib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Vesa Oikonen
tpcclib
Commits
0c63f607
Commit
0c63f607
authored
4 years ago
by
Vesa Oikonen
Browse files
Options
Downloads
Patches
Plain Diff
fixed source error which did not affect compiled code
parent
18c75633
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
v2/libtpcpar/parcomb.c
+6
-6
6 additions, 6 deletions
v2/libtpcpar/parcomb.c
with
6 additions
and
6 deletions
v2/libtpcpar/parcomb.c
+
6
−
6
View file @
0c63f607
...
...
@@ -51,9 +51,9 @@ int parSelectByAnother(
/* Search for parameter names */
for
(
int
i
=
0
;
i
<
d1
->
parNr
;
i
++
)
{
if
(
d1
->
n
[
i
].
name
==
NULL
||
strnlen
(
d1
->
n
[
i
].
name
,
1
)
<
1
)
continue
;
if
(
strnlen
(
d1
->
n
[
i
].
name
,
1
)
<
1
)
continue
;
for
(
int
j
=
0
;
j
<
d2
->
parNr
;
j
++
)
{
if
(
d2
->
n
[
j
].
name
==
NULL
||
strnlen
(
d2
->
n
[
j
].
name
,
1
)
<
1
)
continue
;
if
(
strnlen
(
d2
->
n
[
j
].
name
,
1
)
<
1
)
continue
;
if
(
strcasecmp
(
d1
->
n
[
i
].
name
,
d2
->
n
[
j
].
name
)
==
0
)
{
d1
->
n
[
i
].
sw
=
1
;
continue
;}
/* Allow mixed '-' and '_' */
char
*
buf1
,
*
buf2
;
...
...
@@ -67,9 +67,9 @@ int parSelectByAnother(
/* Search for TAC names */
for
(
int
i
=
0
;
i
<
d1
->
tacNr
;
i
++
)
{
if
(
d1
->
r
[
i
].
name
==
NULL
||
strnlen
(
d1
->
r
[
i
].
name
,
1
)
<
1
)
continue
;
if
(
strnlen
(
d1
->
r
[
i
].
name
,
1
)
<
1
)
continue
;
for
(
int
j
=
0
;
j
<
d2
->
tacNr
;
j
++
)
{
if
(
d2
->
r
[
i
].
name
==
NULL
||
strnlen
(
d2
->
r
[
j
].
name
,
1
)
<
1
)
continue
;
if
(
strnlen
(
d2
->
r
[
j
].
name
,
1
)
<
1
)
continue
;
if
(
strcasecmp
(
d1
->
r
[
i
].
name
,
d2
->
r
[
j
].
name
)
==
0
)
{
d1
->
r
[
i
].
sw
=
1
;
continue
;}
/* Allow mixed '-' and '_' */
char
*
buf1
,
*
buf2
;
...
...
@@ -135,10 +135,10 @@ int parCombineTACs(
/* Copy contents for common TACs */
for
(
int
i
=
0
;
i
<
d1
->
tacNr
;
i
++
)
{
/* find matching TAC name */
if
(
d1
->
r
[
i
].
name
==
NULL
||
strnlen
(
d1
->
r
[
i
].
name
,
1
)
<
1
)
continue
;
if
(
strnlen
(
d1
->
r
[
i
].
name
,
1
)
<
1
)
continue
;
int
j
;
for
(
j
=
0
;
j
<
d2
->
tacNr
;
j
++
)
{
if
(
d2
->
r
[
i
].
name
==
NULL
||
strnlen
(
d2
->
r
[
j
].
name
,
1
)
<
1
)
continue
;
if
(
strnlen
(
d2
->
r
[
j
].
name
,
1
)
<
1
)
continue
;
if
(
strcasecmp
(
d1
->
r
[
i
].
name
,
d2
->
r
[
j
].
name
)
==
0
)
break
;
/* Allow mixed '-' and '_' */
char
*
buf1
,
*
buf2
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment