Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-2798

error: variable ‘site’ set but not used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • None
    • 3
    • 6774

    Description

      $ /usr/linux-k1om-4.7/bin/x86_64-k1om-linux-gcc -v
      Using built-in specs.
      COLLECT_GCC=/usr/linux-k1om-4.7/bin/x86_64-k1om-linux-gcc
      COLLECT_LTO_WRAPPER=/usr/linux-k1om-4.7/libexec/gcc/x86_64-k1om-linux/4.7.0/lto-wrapper
      Target: x86_64-k1om-linux
      Configured with: ../../gcc-4.7/configure --target=x86_64-k1om-linux --enable-languages=c,c++,fortran --disable-multilib --with-demangler-in-ld --with-sysroot=/usr/linux-k1om-4.7/linux-k1om --prefix=/usr/linux-k1om-4.7 --with-local-prefix=/usr/local --with-gmp-lib=/usr/local/lib
      Thread model: posix
      gcc version 4.7.0 20110509 (experimental) 4.7.0 (GCC)

      cl_lock.c: In function ‘cl_lock_put’:
      cl_lock.c:308:34: error: variable ‘site’ set but not used [-Werror=unused-but-set-variable]
      cc1: all warnings being treated as errors

      lmv_obd.c: In function ‘lmv_connect_mdc’:
      lmv_obd.c:347:34: error: variable ‘mdc_data’ set but not used [-Werror=unused-but-set-variable]
      cc1: all warnings being treated as errors

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              dmiter Dmitry Eremin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: