Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
mpim-sw
libcdi
Commits
254ad9ab
Commit
254ad9ab
authored
2 years ago
by
Uwe Schulzweida
Browse files
Options
Downloads
Patches
Plain Diff
Removed unused function taxisInit()
parent
9abbc664
No related branches found
No related tags found
2 merge requests
!34
Version 2.2.0
,
!25
M214003/develop
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/taxis.c
+0
-24
0 additions, 24 deletions
src/taxis.c
with
0 additions
and
24 deletions
src/taxis.c
+
0
−
24
View file @
254ad9ab
...
...
@@ -65,8 +65,6 @@ dup_refcount_string(char *p)
#undef container_of
static
int
TAXIS_Debug
=
0
;
// If set to 1, debugging
const
char
*
taxisNamePtr
(
int
taxisID
)
{
...
...
@@ -131,17 +129,6 @@ taxisNewEntry(cdiResH resH)
return
taxisptr
;
}
static
void
taxisInit
(
void
)
{
static
bool
taxisInitialized
=
false
;
if
(
taxisInitialized
)
return
;
taxisInitialized
=
true
;
char
*
env
=
getenv
(
"TAXIS_DEBUG"
);
if
(
env
)
TAXIS_Debug
=
atoi
(
env
);
}
/*
@Function taxisCreate
@Title Create a Time axis
...
...
@@ -176,17 +163,10 @@ taxisDefRtime(taxisID, 120000);
int
taxisCreate
(
int
taxistype
)
{
if
(
CDI_Debug
)
Message
(
"taxistype: %d"
,
taxistype
);
taxisInit
();
taxis_t
*
taxisptr
=
taxisNewEntry
(
CDI_UNDEFID
);
taxisptr
->
type
=
taxistype
;
int
taxisID
=
taxisptr
->
self
;
if
(
CDI_Debug
)
Message
(
"taxisID: %d"
,
taxisID
);
return
taxisID
;
}
...
...
@@ -232,8 +212,6 @@ taxisDuplicate(int taxisID1)
int
taxisID2
=
taxisptr2
->
self
;
if
(
CDI_Debug
)
Message
(
"taxisID2: %d"
,
taxisID2
);
ptaxisCopy
(
taxisptr2
,
taxisptr1
);
return
taxisID2
;
...
...
@@ -1486,8 +1464,6 @@ taxisUnpack(char *unpackBuffer, int unpackBufferSize, int *unpackBufferPos, int
xassert
(
cdiCheckSum
(
CDI_DATATYPE_INT
,
taxisNint
,
intBuffer
)
==
d
);
taxisInit
();
cdiResH
targetID
=
force_id
?
adaptKey
(
intBuffer
[
TAXIS_PACK_INT_SELF
])
:
CDI_UNDEFID
;
taxisP
=
taxisNewEntry
(
targetID
);
...
...
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