aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorSteve French <[email protected]>2015-03-25 18:51:57 -0500
committerSteve French <[email protected]>2015-04-01 00:01:46 -0500
commit75fdfc849ae0636853add4b7dbdc5753160ad0cb (patch)
tree1d8368ae3deaa9d577ce307050fd7e5f8917eefd /lib/test-string_helpers.c
parent2bd50fb3d4d31f5168ecea221f291534cd0a96e9 (diff)
Fix warning on uninitialized buftype
Pointed out by coverity analyzer. resp_buftype is not initialized in one path which can rarely log a spurious warning (buf is null so there will not be a problem with freeing data, but if buf_type were randomly set to wrong value could log a warning) Reported by Coverity (CID 1269144) Signed-off-by: Steve French <[email protected]> Acked-by: Shirish Pargaonkar <[email protected]> Acked-by: Sachin Prabhu <[email protected]> Reviewed-by: Jeff Layton <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions