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

GitHub noreply at github.com
Sun Nov 26 20:46:58 GMT 2017


  Branch: refs/heads/windows_binary_packages
  Home:   https://github.com/boxbackup/boxbackup
  Commit: 447c2cd3d6884b8383884dbbfe65db845ea5c04d
      https://github.com/boxbackup/boxbackup/commit/447c2cd3d6884b8383884dbbfe65db845ea5c04d
  Author: Chris Wilson <chris+github at qwirx.com>
  Date:   2017-11-26 (Sun, 26 Nov 2017)

  Changed paths:
    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)
(cherry picked from commit 5a50b98401302a5ba89366e4c0f8cccdd88d8722)




More information about the Boxbackup-commit mailing list