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

-Wmaybe-uninitialized in result of spider_conn_first_link_idx

    XMLWordPrintable

Details

    Description

      reported by marko. Like in MDEV-33220, may require -Og to reproduce

      /home/marko/11.2/storage/spider/spd_conn.cc: In function 'int spider_conn_first_link_idx(THD*, long int*, long int*, uint*, int, int)':
      /home/marko/11.2/storage/spider/spd_conn.cc:3689:21: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized]
       3689 |   DBUG_PRINT("info",("spider first link_idx=%d", result));
      

      Attachments

        Issue Links

          Activity

            People

              ycp Yuchen Pei
              ycp Yuchen Pei
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.