(file) Return to CodingGuidelines.htm CVS log (file) (dir) Up to [Pegasus] / pegasus / doc

Diff for /pegasus/doc/CodingGuidelines.htm between version 1.3 and 1.4

version 1.3, 2013/02/18 15:00:19 version 1.4, 2013/05/03 05:34:37
Line 606 
Line 606 
     is used later on but parameter <i>argc</i> is not. Do this:<br>     is used later on but parameter <i>argc</i> is not. Do this:<br>
     <pre><code>int main(int, void** argv)     <pre><code>int main(int, void** argv)
 { {
 };</code></pre>  }</code></pre>
     Not this:<br>     Not this:<br>
     <pre><code>int main(int argc, void** argv)     <pre><code>int main(int argc, void** argv)
 { {
 };</code></pre>  }</code></pre>
   </li>   </li>
   <li>Avoid unused variables when the return value of a function is   <li>Avoid unused variables when the return value of a function is
     assigned to a variable only to be used to do an assert check     assigned to a variable only to be used to do an assert check


Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2