Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
unused enum constant
#1
I have created enum constant and using it only for assigment to uint8_t or if comparison of uint8_t to this constant, coverity from synopsys configured for MISRA C 2012 is generating rule violation: Type has tag xxxx_enum but that tag is never used. Is there any clear way of get rid of this message?
Reply


Messages In This Thread
unused enum constant - by kprzygoda - 10-03-2022, 11:16 AM
RE: unused enum constant - by misra-c - 23-04-2022, 03:44 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)