From: <vl...@us...> - 2012-08-27 21:58:55
|
Revision: 4488 http://scst.svn.sourceforge.net/scst/?rev=4488&view=rev Author: vlnb Date: 2012-08-27 21:58:49 +0000 (Mon, 27 Aug 2012) Log Message: ----------- scst: Avoid that smatch complains about dead code Reported by Bart Van Assche <bva...@ac...> Modified Paths: -------------- trunk/scst/src/scst_targ.c Modified: trunk/scst/src/scst_targ.c =================================================================== --- trunk/scst/src/scst_targ.c 2012-08-27 21:51:10 UTC (rev 4487) +++ trunk/scst/src/scst_targ.c 2012-08-27 21:58:49 UTC (rev 4488) @@ -4780,12 +4780,13 @@ switch (mgmt_fn) { #ifdef CONFIG_SCST_ABORT_CONSIDER_FINISHED_TASKS_AS_NOT_EXISTING case SCST_ABORT_TASK: + return 1; #endif #if 0 case SCST_ABORT_TASK_SET: case SCST_CLEAR_TASK_SET: + return 1; #endif - return 1; default: return 0; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |