Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-13958

mariadb-10.2.9/libmariadb/libmariadb/mariadb_lib.c :3871: possible missing break ?

    XMLWordPrintable

    Details

      Description

      mariadb-10.2.9/libmariadb/libmariadb/mariadb_lib.c
      :3871:8: warning: this statement may fall through [-Wimplicit-fallthrough=]
      

      Source code is

        case MARIADB_CONNECTION_CLIENT_CAPABILITIES:
          if (mysql)
            *((unsigned long *)arg)= mysql->client_flag;
          else
            goto error;
        default:
          va_end(ap);
          return(-1);
      

      Suggest add missing break.

        Attachments

          Activity

            People

            Assignee:
            georg Georg Richter
            Reporter:
            dcb David Binderman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: