From 526e875cec15761099438e17df3f56bc2bd5b761 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 8 Aug 2012 15:35:28 -0700 Subject: Check error returns from strupper_m() (in all reasonable places). --- source3/torture/torture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/torture/torture.c') diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 69e583ad55..525484719b 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -8273,7 +8273,7 @@ static NTSTATUS split_ntfs_stream_name(TALLOC_CTX *mem_ctx, const char *fname, /* * upper-case the type field */ - strupper_m(strchr_m(stream, ':')+1); + (void)strupper_m(strchr_m(stream, ':')+1); } done: -- cgit