[Box Backup-commit] [boxbackup/boxbackup] 5a50b9: Remove invalid use of null references (undefined b...

GitHub noreply at github.com
Wed Nov 22 21:02:07 GMT 2017


  Branch: refs/heads/s3_support_merge
  Home:   https://github.com/boxbackup/boxbackup
  Commit: 5a50b98401302a5ba89366e4c0f8cccdd88d8722
      https://github.com/boxbackup/boxbackup/commit/5a50b98401302a5ba89366e4c0f8cccdd88d8722
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M infrastructure/m4/boxbackup_tests.m4
    M lib/common/Timer.cpp
    M test/common/testcommon.cpp

  Log Message:
  -----------
  Remove invalid use of null references (undefined behaviour)

Enable the relevant compiler warning as an error, if supported
(-Werror=undefined-bool-conversion).

http://www.gotw.ca/conv/002.htm
http://stackoverflow.com/questions/2165078/a-reference-can-not-be-null-or-it-can-be-null

(cherry picked from commit f2911acac0c8375a08ecc0a55f853a5a59c4d511)


  Commit: 62cdfef7fd263166861ba625ac72c20d1688f89c
      https://github.com/boxbackup/boxbackup/commit/62cdfef7fd263166861ba625ac72c20d1688f89c
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-11-22 (Wed, 22 Nov 2017)

  Changed paths:
    M infrastructure/m4/boxbackup_tests.m4
    M lib/backupstore/BackupStoreFileEncodeStream.cpp
    M lib/backupstore/BackupStoreFileEncodeStream.h

  Log Message:
  -----------
  Enable errors on unused private fields (-Werror=unused-private-field)


Compare: https://github.com/boxbackup/boxbackup/compare/f5995dd36fc4...62cdfef7fd26


More information about the Boxbackup-commit mailing list