Fixed a (false positive) compiler warning.
[mirror/scst/.git] / 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();