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

largepages: osx compile warning fix

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 10.5.4
    • Compiling, Server
    • None
    • OSX

    Description

      my_is_2pow is only used on linux.
      fixes compile warning:

      mysys/my_largepage.c:48:23: warning: unused function 'my_is_2pow' [-Wunused-function]
       
      static inline my_bool my_is_2pow(size_t n) { return !((n) & ((n) - 1)); }
      

      Attachments

        Activity

          People

            svoj Sergey Vojtovich
            anel Anel Husakovic
            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.