1
0
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:
Patrick Grimm
2016-12-03 12:23:18 +01:00
parent d6dea9fbd5
commit cd7123bfcb
11 changed files with 15 additions and 12 deletions

View File

@@ -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,