forked from pool/ibmswtpm2
3574d964cf
fix gcc7 build OBS-URL: https://build.opensuse.org/request/show/501149 OBS-URL: https://build.opensuse.org/package/show/security/ibmswtpm2?expand=0&rev=9
14 lines
548 B
Diff
14 lines
548 B
Diff
diff -ur ibmswtpm2-832.org/src/CompilerDependencies.h ibmswtpm2-832/src/CompilerDependencies.h
|
|
--- ibmswtpm2-832.org/src/CompilerDependencies.h 2016-11-16 19:31:54.000000000 +0100
|
|
+++ ibmswtpm2-832/src/CompilerDependencies.h 2017-06-05 13:47:16.005232774 +0200
|
|
@@ -142,7 +142,7 @@
|
|
# define LIB_IMPORT
|
|
# define _REDUCE_WARNING_LEVEL_(n)
|
|
# define _NORMAL_WARNING_LEVEL_
|
|
-# define NOT_REFERENCED(x) (x = x)
|
|
+# define NOT_REFERENCED(x) (void)(x)
|
|
#endif // _MSC_VER
|
|
|
|
#ifdef TPM_POSIX
|
|
Only in ibmswtpm2-832/src: CompilerDependencies.h~
|