aboutsummaryrefslogtreecommitdiff
path: root/src/sg_read.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2016-04-05 03:18:04 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2016-04-05 03:18:04 +0000
commit63a8ecf3099475c7560036054dae728a1869685e (patch)
tree25077d46b98c0231e960624e7fea47dc7257f167 /src/sg_read.c
parent61a0b017ebca98eca9c5d85264af45b3eb1853e5 (diff)
downloadsg3_utils-63a8ecf3099475c7560036054dae728a1869685e.tar.gz
clang --analyze static checker clean ups
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@689 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_read.c')
-rw-r--r--src/sg_read.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sg_read.c b/src/sg_read.c
index 83a72b90..a107abd0 100644
--- a/src/sg_read.c
+++ b/src/sg_read.c
@@ -809,7 +809,6 @@ int main(int argc, char * argv[])
free(wrkBuff);
close(infd);
- res = 0;
if (0 != dd_count) {
pr2serr("Some error occurred,");
if (0 == ret)