bug in hal_if.c

Andrew Lunn andrew@lunn.ch
Wed Apr 27 19:09:00 GMT 2005


On Wed, Apr 27, 2005 at 11:47:58AM +0200, Enrico Piria wrote:
> I found a bug in the file hal_if.c contained in the common HAL.
> In the routine cyg_hal_diag_mangler_gdb_flush, if macro
> CYGNUM_HAL_DEBUG_GDB_PROTOCOL_RETRIES
> is not equal to 0, variable "tries" is used without having been defined.
> 
> In the routine cyg_hal_diag_mangler_gdb_putc, if macro
> CYGNUM_HAL_DEBUG_GDB_PROTOCOL_RETRIES
> is not equal to 0, variable "tries" is defined but never used.

Thanks
        Committed,
                Andrew



More information about the Ecos-patches mailing list