~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to examples/simple.c

  • Committer: Monty Taylor
  • Date: 2010-12-10 17:15:20 UTC
  • mto: (2023.3.15 innodb-cxx)
  • mto: This revision was merged to the branch mainline in revision 2014.
  • Revision ID: mordred@inaugust.com-20101210171520-jjzk0ajz1w6dgexo
Cleaned up for additional gcc 4.5 warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
      break;
86
86
 
87
87
    case 'v':
88
 
      verbose++;
 
88
      switch(verbose)
 
89
      {
 
90
      case DRIZZLE_VERBOSE_NEVER:
 
91
        verbose= DRIZZLE_VERBOSE_FATAL;
 
92
        break;
 
93
      case DRIZZLE_VERBOSE_FATAL:
 
94
        verbose= DRIZZLE_VERBOSE_ERROR;
 
95
        break;
 
96
      case DRIZZLE_VERBOSE_ERROR:
 
97
        verbose= DRIZZLE_VERBOSE_INFO;
 
98
        break;
 
99
      case DRIZZLE_VERBOSE_INFO:
 
100
        verbose= DRIZZLE_VERBOSE_DEBUG;
 
101
        break;
 
102
      case DRIZZLE_VERBOSE_DEBUG:
 
103
        verbose= DRIZZLE_VERBOSE_CRAZY;
 
104
        break;
 
105
      case DRIZZLE_VERBOSE_CRAZY:
 
106
      case DRIZZLE_VERBOSE_MAX:
 
107
        break;
 
108
      }
89
109
      break;
90
110
 
91
111
    default: