What is the meaning of coverity warning : RW.ROUTINE_NOT_EMITTED?

Pushpendra picture Pushpendra · Mar 14, 2016 · Viewed 7.2k times · Source

I am facing below coverity warning:

  Type: Parse recovery warning (RW.ROUTINE_NOT_EMITTED)
  Classification: Unclassified
  Severity: Unspecified
  Action: Undecided
  Owner: Unassigned
  Defect only exists locally.

Not sure what this means ??

Answer

Pushpendra picture Pushpendra · Mar 14, 2016

The warning RW.ROUTINE_NOT_EMITTED is basically a parser warning which is generated when some piece of code is not analyzed due to previous errors.

But the real glitch I think is here that actual error you should fix is generated later in the sequence.

So I would suggest fix other below Coverity and this should be resolved.

In my case I forgot to include a header file for system structure. So due to this error parser could not parse something which generated the : RW.ROUTINE_NOT_EMITTED warning.