hhvm: avoid -Werror=nonnull failures in bundled libmagic
commitf9b242e4ee6ecad5eab7a5b3bb5bc5783202d1af
authorPádraig Brady <pbrady@fb.com>
Mon, 20 Nov 2017 22:51:48 +0000 (20 14:51 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 21 Nov 2017 16:56:39 +0000 (21 08:56 -0800)
tree9c3e51a5ef2395ac7da48eb4bc823b97c8fd3e06
parent6974d6781dd3b0bf92c93d7044f56eee0ac6baad
hhvm: avoid -Werror=nonnull failures in bundled libmagic

Summary: Inform the compiler that passed args can't be NULL

Reviewed By: markw65

Differential Revision: D6372194

fbshipit-source-id: c47d6a729aa8e9637cbc1a1e5e918fc470d8bb8a
hphp/runtime/ext/fileinfo/libmagic/magic.cpp