[sword-svn] r1704 - trunk/include

jansorg at crosswire.org jansorg at crosswire.org
Sat Jan 29 17:28:04 MST 2005


Author: jansorg
Date: 2005-01-29 17:28:03 -0700 (Sat, 29 Jan 2005)
New Revision: 1704

Modified:
   trunk/include/swbasicfilter.h
   trunk/include/swfilter.h
Log:
fixed warnings about unused parameters

Modified: trunk/include/swbasicfilter.h
===================================================================
--- trunk/include/swbasicfilter.h	2005-01-29 21:45:41 UTC (rev 1703)
+++ trunk/include/swbasicfilter.h	2005-01-30 00:28:03 UTC (rev 1704)
@@ -156,7 +156,7 @@
 	 */
 	virtual bool handleToken(SWBuf &buf, const char *token, BasicFilterUserData *userData);
 
-	virtual bool processStage(char stage, SWBuf &text, char *&from, BasicFilterUserData *userData) { return false; }
+	virtual bool processStage(char /*stage*/, SWBuf &/*text*/, char *&/*from*/, BasicFilterUserData */*userData*/) { return false; }
 	virtual void setStageProcessing(char stages) { processStages = stages; }	// see STATICs up above
 
 	/** This function is called for every escape sequence encountered in the input text.

Modified: trunk/include/swfilter.h
===================================================================
--- trunk/include/swfilter.h	2005-01-29 21:45:41 UTC (rev 1703)
+++ trunk/include/swfilter.h	2005-01-30 00:28:03 UTC (rev 1704)
@@ -75,7 +75,7 @@
 	 * see also getOptionValues()
 	 * @param ival the new option valus
 	 */
-	virtual void setOptionValue (const char *ival) { }
+	virtual void setOptionValue (const char */*ival*/) { }
 
 	/** This is the main filter function
 	 * @param text The text to be filtered/converted



More information about the sword-cvs mailing list