Shut up "address will always evaluate to 'true'" warnings (#14774)
authorEdward Yang <ezyang@fb.com>
Thu, 6 Dec 2018 05:14:03 +0000 (21:14 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 6 Dec 2018 05:18:31 +0000 (21:18 -0800)
commita6399121da167606bd2c7390bcc9fffdaad43b5c
tree678afaf92a55460a6607b3867f0880b0ba723c79
parentf9446e0c944e0d430b5be89e7968c23a8f5212e7
Shut up "address will always evaluate to 'true'" warnings (#14774)

Summary:
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14774

Differential Revision: D13327969

Pulled By: ezyang

fbshipit-source-id: 43380c89eedaaa89467952401b8fd3f5a9ad754a
caffe2/operators/minmax_ops.h
caffe2/operators/negate_gradient_op.h
caffe2/operators/reservoir_sampling.cc
caffe2/operators/tensor_protos_db_input.h
caffe2/sgd/clip_tensor_op.h