diff options
author | Steve French <[email protected]> | 2015-03-26 19:47:02 -0500 |
---|---|---|
committer | Steve French <[email protected]> | 2015-04-01 00:01:47 -0500 |
commit | 8e3531060556bf5e09444acd2aa5c78bce9c9f70 (patch) | |
tree | 8fe7d652e19acef03d970005b791ad6ca7fcca5c /lib/test-string_helpers.c | |
parent | f3a31a2bbbfe22db0313a4e270c7ba91baa7b630 (diff) |
Fix dereference before null check warning
null tcon is not likely in these paths in current
code, but obviously it does clarify the code to
check for null (if at all) before derefrencing
rather than after.
Reported by Coverity (CID 1042666)
Signed-off-by: Steve French <[email protected]>
Acked-by: Shirish Pargaonkar <[email protected]>
Acked-by: Sachin Prabhu <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions