<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">

  <title>RCST7 - C071</title>
  <link rel="stylesheet" type="text/css" href="errors.css">
</head>

<body>
  <h1><a name="RCST7-C071" id="RCST7-C071"></a>RCST7 ERROR C071</h1>
  <!-- Note that the header should be non scrollable, so that it always
     remains on top even if the user scrolls down a loooong text. -->
  <!-- This is the Error title -->

  <h2>A void function cannot return a value</h2>

  <p>A return statement has been found in a function that is not supposed to
  return a value</p>

  <h2>Example</h2>
  <pre>
void check_errors(void)
{
   return(3);
}
</pre>

  <h2>Resolution</h2>

  <p>Remove the return statement or change the type of the function from void
  to something else</p><!--Footer Start-->

  <div class="footer">
    <hr>
    <!--Copyright-->

    <p>&copy; Raisonance S.A.S. 1987-2007. All rights reserved.</p>
  </div><!--Closes the footer div-->
  <!--FOOTER_END-->
</body>
</html>
