Commit b135998c authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix for clang unreachable code detection.

parent 46564926
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment