Cleaned up Borland compiler warnings.

This commit is contained in:
skarg
2009-04-19 20:05:06 +00:00
parent 94d55e0294
commit 6da080105d
7 changed files with 11 additions and 9 deletions
+1 -2
View File
@@ -315,8 +315,7 @@ bool Life_Safety_Point_Write_Property(
switch (wp_data->object_property) {
case PROP_MODE:
if (value.tag == BACNET_APPLICATION_TAG_ENUMERATED) {
if ((value.type.Enumerated >= MIN_LIFE_SAFETY_MODE) &&
(value.type.Enumerated <= MIN_LIFE_SAFETY_MODE)) {
if (value.type.Enumerated <= MAX_LIFE_SAFETY_MODE) {
object_index =
Life_Safety_Point_Instance_To_Index(wp_data->
object_instance);