]> Git Repo - linux.git/commit - fs/cifs/inode.c
cifs: address trivial coverity warning
authorSteve French <[email protected]>
Thu, 15 Nov 2018 06:33:05 +0000 (00:33 -0600)
committerSteve French <[email protected]>
Mon, 24 Dec 2018 04:38:14 +0000 (22:38 -0600)
commit97aa495a89a631822431b789b8553b81e3460255
treeebeb0a24494ff55517a016ffc47a7d790d82f84e
parentf5942db5ef25531d53f2aa2ff84a46e1763b4196
cifs: address trivial coverity warning

This is not actually a bug but as Coverity points out we shouldn't
be doing an "|=" on a value which hasn't been set (although technically
it was memset to zero so isn't a bug) and so might as well change
"|=" to "=" in this line

Detected by CoverityScan, CID#728535 ("Unitialized scalar variable")

Signed-off-by: Steve French <[email protected]>
Reviewed-by: Ronnie Sahlberg <[email protected]>
fs/cifs/inode.c
This page took 0.048459 seconds and 4 git commands to generate.