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

warning: ‘ph0’ / ‘ph2’ may be used uninitialized in this function

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.2.6
    • Fix Version/s: 10.2.7
    • Component/s: Compiling
    • Labels:
    • Environment:
      Debian 8.8 x32 - Digitalocean

       # uname -a
      Linux framework 3.16.0-4-686-pae #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26) i686 GNU/Linux

      Description

      [ 66%] Building CXX object storage/connect/CMakeFiles/connect.dir/ha_connect.cc.o
      /var/tmp/mariadb_build/mariadb_src/storage/connect/ha_connect.cc: In member function ‘CONDFIL* ha_connect::CheckCond(PGLOBAL, PCFIL, const Item*)’:
      /var/tmp/mariadb_build/mariadb_src/storage/connect/ha_connect.cc:2744:29: warning: ‘ph2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      ph1= ph2 + strlen(ph2);
      ^
      /var/tmp/mariadb_build/mariadb_src/storage/connect/ha_connect.cc:2768:13: warning: ‘ph0’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      *ph0 = 0;
      ^

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dertin Guillermo Céspedes Tabárez
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration