Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
b135998c
Commit
b135998c
authored
Jan 14, 2016
by
Thomas Jahns
🤸
Browse files
Fix for clang unreachable code detection.
parent
46564926
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pio_client.c
View file @
b135998c
...
...
@@ -122,6 +122,16 @@ cdiPioClientStreamDefVlist_(int streamID, int vlistID)
cdiPioClientStreamWinCreate
(
streamID
,
&
cspec
);
}
/* If we're not using GNU C, elide __attribute__ */
#if ! defined __GNUC__ && ! defined __attribute__
# define __attribute__(x)
/*NOTHING*/
#endif
static
void
cdiPioClientStreamWriteVar_
(
int
streamID
,
int
varID
,
int
memtype
,
const
void
*
data
,
int
nmiss
)
__attribute__
((
noreturn
));
static
void
cdiPioClientStreamWriteVar_
(
int
streamID
,
int
varID
,
int
memtype
,
const
void
*
data
,
int
nmiss
)
...
...
Write
Preview
Supports
Markdown
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