diff options
author | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 19:54:22 -0500 |
---|---|---|
committer | root <root@avtech.domain.avtechpulse.com> | 1999-12-31 19:54:22 -0500 |
commit | c5f2953fd9be7e3e15e898b1c2066c0c76b80027 (patch) | |
tree | 08d1b782d0d99803f7f1122617189ca0364903f7 /gpib.c | |
parent | 6f54d6f2efeb88630e69cd673f5be55e16735f22 (diff) |
fixed some gpib warnings
Diffstat (limited to 'gpib.c')
-rw-r--r-- | gpib.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -416,8 +416,6 @@ static void TNT_Gen_Error(int code) /*----------------------------------------------------------------------------------------------------------*/ void GPIB_initialize(void) { - int i; - INTERFACE_STATUS=0; /* Initialize Globals to zero */ INTERFACE_ERROR=0; DATA_COUNT=0; @@ -972,7 +970,7 @@ unsigned int GPIB_get_ESE () unsigned int GPIB_get_STB () { if (!is_gpib) { - return; + return 0; } return (TNT_In(R_spsr)&0xbf) | (((TNT_In(R_spsr)&0xbf) & MR_4882_status[SRE])?0x40:0); |