Closed msplr closed 10 years ago
CRITICAL_SECTION_ALLOC() declares a int16_t __critctrl variable, which is not used in CRITICAL_SECTION_ENTER() and CRITICAL_SECTION_EXIT() and therefore generates a compiler warning. How about adding a cast to void?
CRITICAL_SECTION_ALLOC()
int16_t __critctrl
CRITICAL_SECTION_ENTER()
CRITICAL_SECTION_EXIT()
lgtm
CRITICAL_SECTION_ALLOC()
declares aint16_t __critctrl
variable, which is not used inCRITICAL_SECTION_ENTER()
andCRITICAL_SECTION_EXIT()
and therefore generates a compiler warning. How about adding a cast to void?