From f9f53c1ec6f87d7827d5deb08f7d37a7befe7afb Mon Sep 17 00:00:00 2001 From: skarg Date: Fri, 2 Feb 2007 01:30:14 +0000 Subject: [PATCH] Corrected two compiler warnings. --- bacnet-stack/demo/object/lc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bacnet-stack/demo/object/lc.c b/bacnet-stack/demo/object/lc.c index 79c6e9d5..7ea47bb2 100644 --- a/bacnet-stack/demo/object/lc.c +++ b/bacnet-stack/demo/object/lc.c @@ -256,7 +256,7 @@ typedef enum load_control_state void Load_Control_State_Machine(int object_index) { static LOAD_CONTROL_STATE state[MAX_LOAD_CONTROLS]; - static initialized = false; + static bool initialized = false; unsigned i = 0; /* loop counter */ int diff = 0; /* used for datetime comparison */ @@ -564,7 +564,6 @@ bool Load_Control_Write_Property(BACNET_WRITE_PROPERTY_DATA * wp_data, { bool status = false; /* return value */ unsigned int object_index = 0; - unsigned int priority = 0; int len = 0; BACNET_APPLICATION_DATA_VALUE value;