Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
c5d48d06
Commit
c5d48d06
authored
Feb 23, 2018
by
Uwe Schulzweida
Browse files
Removed debug output.
parent
9ab250d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cdi_key.c
View file @
c5d48d06
...
...
@@ -123,7 +123,6 @@ int cdiDelKeys(int cdiID, int varID)
cdi_key_t
*
keyp
=
&
(
keysp
->
value
[
keyid
]);
if
(
keyp
->
length
&&
keyp
->
v
.
s
)
{
printf
(
"length %d %p %d %d %d
\n
"
,
keyp
->
length
,
keyp
->
v
.
s
,
keyp
->
v
.
s
[
0
],
cdiID
,
varID
);
free
(
keyp
->
v
.
s
);
keyp
->
v
.
s
=
NULL
;
keyp
->
length
=
0
;
...
...
@@ -223,7 +222,6 @@ int cdiInqKeyInt(int cdiID, int varID, int key, int *value)
// cdiDefKeyBytes: Define a bytes array from a key of a CDI variable
int
cdiDefKeyBytes
(
int
cdiID
,
int
varID
,
int
key
,
const
unsigned
char
*
bytes
,
int
length
)
{
printf
(
"cdiDefKeyBytes %d %d %d
\n
"
,
cdiID
,
varID
,
length
);
int
status
=
CDI_NOERR
;
cdi_keys_t
*
keysp
=
cdi_get_keysp
(
cdiID
,
varID
);
...
...
@@ -242,7 +240,6 @@ int cdiDefKeyBytes(int cdiID, int varID, int key, const unsigned char *bytes, in
if
(
keyp
->
length
==
0
)
{
keyp
->
v
.
s
=
(
unsigned
char
*
)
malloc
(
length
);
printf
(
"alloc %d %p
\n
"
,
length
,
keyp
->
v
.
s
);
keyp
->
length
=
length
;
}
...
...
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