usd: Can't call usd_FileStandard* with NULL
authorSimon Wilkinson <sxw@your-file-system.com>
Tue, 12 Feb 2013 14:07:10 +0000 (14:07 +0000)
committerDerrick Brashear <shadow@your-file-system.com>
Wed, 20 Feb 2013 20:30:52 +0000 (12:30 -0800)
commitea24520b3152e4197b2f1e1c3f3dd937340660a6
tree0483c30f5fb6006e9bdf7961685b7da665b6359e
parent519d43cafb74dc99dc63a1f6333ebf818c343906
usd: Can't call usd_FileStandard* with NULL

It doesn't make sense to call usd_FileStandard{Input,Output} with
a NULL usd_handle_t (and doing so would crash later in the
function), so don't check for attempts to do so.

Caught by clang-analyzer

Change-Id: I03c0b627056108fe0d6f78d8028323cc4ed74758
Reviewed-on: http://gerrit.openafs.org/9151
Reviewed-by: Marc Dionne <marc.c.dionne@gmail.com>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
src/usd/usd_file.c