cleaned up warning for unused variables during Win32 compile.

This commit is contained in:
skarg
2007-03-28 13:06:48 +00:00
parent b602ba5739
commit 8b13d401a3
+17 -13
View File
@@ -63,13 +63,15 @@ static void MyErrorHandler(BACNET_ADDRESS * src,
{ {
/* FIXME: verify src and invoke id */ /* FIXME: verify src and invoke id */
(void) src; (void) src;
(void) invoke_id; (void) invoke_id;
/* Ignore errors for EPICS application */ #if 0
/*
printf("BACnet Error: %s: %s\r\n", printf("BACnet Error: %s: %s\r\n",
bactext_error_class_name(error_class), bactext_error_class_name(error_class),
bactext_error_code_name(error_code)); bactext_error_code_name(error_code));
*/ #else
(void) error_class;
(void) error_code;
#endif
Error_Detected = true; Error_Detected = true;
} }
@@ -79,12 +81,13 @@ void MyAbortHandler(BACNET_ADDRESS * src,
/* FIXME: verify src and invoke id */ /* FIXME: verify src and invoke id */
(void) src; (void) src;
(void) invoke_id; (void) invoke_id;
(void) server; (void) server;
/* Ignore errors for EPICS application */ #if 0
/*
printf("BACnet Abort: %s\r\n", printf("BACnet Abort: %s\r\n",
bactext_abort_reason_name(abort_reason)); bactext_abort_reason_name(abort_reason));
*/ #else
(void) abort_reason;
#endif
Error_Detected = true; Error_Detected = true;
} }
@@ -93,12 +96,13 @@ void MyRejectHandler(BACNET_ADDRESS * src,
{ {
/* FIXME: verify src and invoke id */ /* FIXME: verify src and invoke id */
(void) src; (void) src;
(void) invoke_id; (void) invoke_id;
/* Ignore errors for EPICS application */ #if 0
/*
printf("BACnet Reject: %s\r\n", printf("BACnet Reject: %s\r\n",
bactext_reject_reason_name(reject_reason)); bactext_reject_reason_name(reject_reason));
*/ #else
(void) reject_reason;
#endif
Error_Detected = true; Error_Detected = true;
} }