|
From: <bva...@us...> - 2011-07-02 11:55:57
|
Revision: 3651
http://scst.svn.sourceforge.net/scst/?rev=3651&view=rev
Author: bvassche
Date: 2011-07-02 11:55:51 +0000 (Sat, 02 Jul 2011)
Log Message:
-----------
scst: Avoid that the compiler complains about 'dev' being unused with CONFIG_SCST_STRICT_SERIALIZING enabled
Modified Paths:
--------------
trunk/scst/src/scst_targ.c
Modified: trunk/scst/src/scst_targ.c
===================================================================
--- trunk/scst/src/scst_targ.c 2011-07-02 11:54:14 UTC (rev 3650)
+++ trunk/scst/src/scst_targ.c 2011-07-02 11:55:51 UTC (rev 3651)
@@ -465,7 +465,9 @@
int scst_pre_parse(struct scst_cmd *cmd)
{
int res;
+#ifndef CONFIG_SCST_STRICT_SERIALIZING
struct scst_device *dev = cmd->dev;
+#endif
struct scst_dev_type *devt = cmd->devt;
int rc;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|