[Box Backup-commit] [boxbackup/boxbackup] 39e624: Fix compile failure due to unused private field

GitHub noreply at github.com
Fri Oct 20 22:59:34 BST 2017


  Branch: refs/heads/s3_support
  Home:   https://github.com/boxbackup/boxbackup
  Commit: 39e624f6f39a81fd63aa05e409e904e6d5de6045
      https://github.com/boxbackup/boxbackup/commit/39e624f6f39a81fd63aa05e409e904e6d5de6045
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-10-20 (Fri, 20 Oct 2017)

  Changed paths:
    M lib/backupstore/BackupFileSystem.cpp

  Log Message:
  -----------
  Fix compile failure due to unused private field

In CMake release builds, RaidBackupFileSystem::mDiscSet was initialized but
never read, and this was detected by -Werror,-Wunused-private-field.

Now the field is totally compiled out of release builds, and by using the
correct preprocessor define, CMake and the Perl buildsystem now behave the
same.




More information about the Boxbackup-commit mailing list