Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
5e36dda5
Commit
5e36dda5
authored
Jan 01, 2018
by
Uwe Schulzweida
Browse files
Removed function cdoSetDebug().
parent
097bbca4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cdo.cc
View file @
5e36dda5
...
@@ -380,32 +380,6 @@ void cdoPrintHelp(std::vector<std::string> help/*, char *xoperator*/)
...
@@ -380,32 +380,6 @@ void cdoPrintHelp(std::vector<std::string> help/*, char *xoperator*/)
}
}
}
}
}
}
static
void
cdoSetDebug
(
int
level
)
{
/*
level 0: off
level 1: on
level 2: cdi
level 4: memory
level 8: file
level 16: format
level 32: cdo
level 64: stream
level 128: pipe
level 256: pthread
level 512: process
*/
cdiDebug
(
level
);
if
(
level
==
1
||
(
level
&
32
)
)
CdoDebug
::
cdoDebug
=
1
;
if
(
level
==
1
||
(
level
&
64
)
)
CdoDebug
::
PSTREAM
=
1
;
if
(
level
==
1
||
(
level
&
512
)
)
CdoDebug
::
PROCESS
=
1
;
#if defined(HAVE_LIBPTHREAD)
if
(
level
==
1
||
(
level
&
128
)
)
CdoDebug
::
PIPE
=
1
;
if
(
level
==
1
||
(
level
&
256
)
)
CdoDebug
::
PTHREAD
=
1
;
#endif
}
#undef IsBigendian
#undef IsBigendian
#define IsBigendian() ( u_byteorder.c[sizeof(long) - 1] )
#define IsBigendian() ( u_byteorder.c[sizeof(long) - 1] )
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment