~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to client/drizzletest.cc

  • Committer: Andrew Hutchings
  • Date: 2011-03-29 09:33:49 UTC
  • mto: (2257.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 2258.
  • Revision ID: andrew@linuxjedi.co.uk-20110329093349-oz4cgb9f7l1032m3
Fix Drizzle to compile in GCC 4.6 (which fires warnings and therefore errors if a variable is set and not read)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3815
3815
{
3816
3816
  uint32_t con_port= opt_port;
3817
3817
  const char *con_options;
3818
 
  bool con_ssl= 0;
3819
3818
  struct st_connection* con_slot;
3820
3819
 
3821
3820
  string ds_connection_name;
3879
3878
    end= con_options;
3880
3879
    while (*end && !my_isspace(charset_info, *end))
3881
3880
      end++;
3882
 
    if (!strncmp(con_options, "SSL", 3))
3883
 
      con_ssl= 1;
3884
 
    else
3885
 
      die("Illegal option to connect: %.*s",
3886
 
          (int) (end - con_options), con_options);
 
3881
    die("Illegal option to connect: %.*s",
 
3882
        (int) (end - con_options), con_options);
3887
3883
    /* Process next option */
3888
3884
    con_options= end;
3889
3885
  }