Fixed a (false positive) compiler warning.
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sat, 14 Nov 2009 19:30:27 +0000 (19:30 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sat, 14 Nov 2009 19:30:27 +0000 (19:30 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1334 d57e44dd-8a1f-0410-8b47-8ef2f437770f

iscsi-scst/kernel/nthread.c

index 54acd1d..9819e69 100644 (file)
@@ -765,7 +765,7 @@ out:
 static void process_read_io(struct iscsi_conn *conn, int *closed)
 {
        struct iscsi_cmnd *cmnd = conn->read_cmnd;
-       int res;
+       int res = 0;
 
        TRACE_ENTRY();