[sword-svn] r2007 - trunk/include

dglassey at www.crosswire.org dglassey at www.crosswire.org
Sat Nov 25 14:16:31 MST 2006


Author: dglassey
Date: 2006-11-25 14:16:31 -0700 (Sat, 25 Nov 2006)
New Revision: 2007

Modified:
   trunk/include/swmodule.h
Log:
unused variable warnings - don't need variable names in definitions


Modified: trunk/include/swmodule.h
===================================================================
--- trunk/include/swmodule.h	2006-11-25 21:15:32 UTC (rev 2006)
+++ trunk/include/swmodule.h	2006-11-25 21:16:31 UTC (rev 2007)
@@ -399,16 +399,16 @@
 	 * @param path path where to create the new module
 	 * @return error
 	 */
-	static signed char createModule(const char *path) { return -1; }
+	static signed char createModule(const char *) { return -1; }
 
 	/** Modify the current module entry text - only if module isWritable()
 	 */
-	virtual void setEntry(const char *inbuf, long len = -1) { }
+	virtual void setEntry(const char *, long = -1) { }
 
 	/** Link the current module entry to another module entry - only if
 	 *	module isWritable()
 	 */
-	virtual void linkEntry(const SWKey *sourceKey) { }
+	virtual void linkEntry(const SWKey *) { }
 
 	/** Delete current module entry - only if module isWritable()
 	 */




More information about the sword-cvs mailing list