From 3a4f333781a481b70fcd598bcc5a93ed9c5a619b Mon Sep 17 00:00:00 2001 From: Justin Fichtner <justin.fichtner@lakeshore.com> Date: ćšć, 30 11æ 2017 22:26:30 +0800 Subject: [PATCH] Fix typos in tests --- libscpi/src/error.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libscpi/src/error.c b/libscpi/src/error.c index 057151e..f5f4699 100644 --- a/libscpi/src/error.c +++ b/libscpi/src/error.c @@ -45,7 +45,7 @@ #if USE_DEVICE_DEPENDENT_ERROR_INFORMATION #define SCPI_ERROR_SETVAL(e, c, i) do { (e)->error_code = (c); (e)->device_dependent_info = (i); } while(0) #else -#define SCPI_ERROR_SETVAL(e, c, i) do { (e)->error_code = (c); } while(0) +#define SCPI_ERROR_SETVAL(e, c, i) do { (e)->error_code = (c); (void)(i);} while(0) #endif /** -- Gitblit v1.9.1