diff options
author | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-24 14:33:36 -0400 |
---|---|---|
committer | Michael J. Chudobiak <mjc@avtechpulse.com> | 2012-08-24 14:33:36 -0400 |
commit | 48cdc88f68d5ba541119f1e9c04d6c60c2a8a6a0 (patch) | |
tree | 589bc68b7b261c2183a8593a56957e8717a7bcbd /error_utils.c | |
parent | c719fabf81f0991b9b7cc213156015f86f396a59 (diff) |
extra code to suppress warnings
Diffstat (limited to 'error_utils.c')
-rw-r--r-- | error_utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/error_utils.c b/error_utils.c index 815d039..37908e7 100644 --- a/error_utils.c +++ b/error_utils.c @@ -39,6 +39,7 @@ void set_gpib_error_flags (int error_num) case SyntaxError: case UnknownUnits: case InvalidChannel: + case ThisShouldntHappen: GPIB_Set_Command_Error(); break; case query_error_interrupted: @@ -499,6 +500,9 @@ void get_error_text(gchar **response, int error_num) format_error_text(response,-240,"Network not found."); break; + case ThisShouldntHappen: + format_error_text(response,-200,"Invalid execution path. Programming error."); + break; default: format_error_text(response,-200,"Specific problem unknown."); |