text: /*
   * @description Unused parameter variable
   * 
   * */
  
  #include "std_testcase.h"
  
  #ifndef OMITBAD
  
  static void helper_bad(int i_bad) {
  	/* FLAW: Do not use the parameter variable i_bad */
      printLine("This function does not use the parameter variable: i_bad.");
  }
  
  void CWE563_Unused_Variable__unused_parameter_variable_01_bad() {
  	helper_bad(5);
  }
  
  #endif /* OMITBAD */
  
  
  #ifndef OMITGOOD
  
  static void helper_good1(int i_good1) {
  	/* FIX: Use the parameter variable i_good1 */
      printIntLine(i_good1);
  }
  
  static void good1() 
  {
  	helper_good1(10);
  }
  
  void CWE563_Unused_Variable__unused_parameter_variable_01_good() 
  {
      good1();
  }
  
  #endif /* OMITGOOD */
  
  /* Below is the main(). It is only used when building this testcase on 
     its own for testing or for building a binary to use in testing binary 
     analysis tools. It is not used when compiling all the testcases as one 
     application, which is how source code analysis tools are tested. */
  
  #ifdef INCLUDEMAIN
  
  int main(int argc, char * argv[]) {
  
      /* seed randomness */
      srand( (unsigned)time(NULL) );
  
  #ifndef OMITGOOD
      printLine("Calling good()...");
      CWE563_Unused_Variable__unused_parameter_variable_01_good();
      printLine("Finished good()");
  #endif /* OMITGOOD */
  
  #ifndef OMITBAD
      printLine("Calling bad()...");
      CWE563_Unused_Variable__unused_parameter_variable_01_bad();
      printLine("Finished bad()");
  #endif /* OMITBAD */
  
      return 0;
  
  } 
  
  #endif