[previous] 1813 [next] An operand of 'essentially character' type is being balanced with an operand of 'essentially floating' type in this arithmetic operation.
Arithmetic type - Balancing

This message is issued whenever an expression of essentially character type undergoes a usual arithmetic conversion to a floating type.

For example:


/*PRQA S 1-9999 ++*/
/*PRQA S 1813 --*/

float f1813 (float a, char b)
{
  a = a + b;                /* 1813 */
  return a - b;             /* 1813 */
}

QA·C Source Code Analyser 8.1.2
© 2013 Programming Research.
www.programmingresearch.com
Personality Groups | Glossary | Message Index Contents