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

warning: ignoring return value of ‘system’, declared with attribute warn_unused_result

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Confirmed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.2.6
    • Fix Version/s: 10.2
    • 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

      [ 44%] Building C object libmariadb/unittest/libmariadb/CMakeFiles/t_aurora.dir/t_aurora.c.o
      /var/tmp/mariadb_build/mariadb_src/libmariadb/unittest/libmariadb/t_aurora.c: In function ‘test_reconnect’:
      /var/tmp/mariadb_build/mariadb_src/libmariadb/unittest/libmariadb/t_aurora.c:100:3: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
      system("/usr/local/aws/bin/aws rds failover-db-cluster --db-cluster-identifier instance-1-cluster");
      ^

        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:

                Git Integration

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