mirror of
https://github.com/stargieg/bacnet-stack
synced 2025-10-26 23:35:52 +08:00
fix compiler warning unused var. add macro unused_var
This commit is contained in:
@@ -35,6 +35,9 @@
|
||||
#pragma warning( disable : 4996)
|
||||
#endif
|
||||
|
||||
/* This removes compilation warnings/errors about unreferenced variables. */
|
||||
#define unused_var(x) (x)=(x)
|
||||
|
||||
/* This stack implements this version of BACnet */
|
||||
#define BACNET_PROTOCOL_VERSION 1
|
||||
/* Although this stack can implement a later revision,
|
||||
|
||||
Reference in New Issue
Block a user