Add UNUSED_ATTR to ZSTD_storeSeq()
This commit is contained in:
1 parent
5dc0a1d659
commit
5cb7615f1f
2 files changed
+9
-1
No files matched your search
@@ -61,6 +61,13 @@
|
||||
# define HINT_INLINE static INLINE_KEYWORD FORCE_INLINE_ATTR
|
||||
#endif
|
||||
|
||||
/* UNUSED_ATTR tells the compiler it is okay if the function is unused. */
|
||||
#if defined(__GNUC__)
|
||||
# define UNUSED_ATTR __attribute__((unused))
|
||||
#else
|
||||
# define UNUSED_ATTR
|
||||
#endif
|
||||
|
||||
/* force no inlining */
|
||||
#ifdef _MSC_VER
|
||||
# define FORCE_NOINLINE static __declspec(noinline)
|
||||
|
||||
Reference in new issue
Block a user