[sword-svn] r2779 - trunk/include
scribe at crosswire.org
scribe at crosswire.org
Mon Jan 28 17:06:01 MST 2013
Author: scribe
Date: 2013-01-28 17:06:01 -0700 (Mon, 28 Jan 2013)
New Revision: 2779
Modified:
trunk/include/installmgr.h
trunk/include/zstr.h
trunk/include/zverse.h
Log:
Committed patch to safely bypass warnings for unused variables in empty virtual methods in headers (Jaak Ristioja)
Modified: trunk/include/installmgr.h
===================================================================
--- trunk/include/installmgr.h 2013-01-26 15:21:20 UTC (rev 2778)
+++ trunk/include/installmgr.h 2013-01-29 00:06:01 UTC (rev 2779)
@@ -214,7 +214,7 @@
return false;
}
*/
- virtual bool getCipherCode(const char *modName, SWConfig *config) { return false; }
+ virtual bool getCipherCode(const char *modName, SWConfig *config) { (void) modName; (void) config; return false; }
Modified: trunk/include/zstr.h
===================================================================
--- trunk/include/zstr.h 2013-01-26 15:21:20 UTC (rev 2778)
+++ trunk/include/zstr.h 2013-01-29 00:06:01 UTC (rev 2779)
@@ -68,7 +68,7 @@
void getText(long index, char **idxbuf, char **buf) const;
void setText(const char *ikey, const char *buf, long len = -1);
void linkEntry(const char *destkey, const char *srckey);
- virtual void rawZFilter(SWBuf &buf, char direction = 0) const {}
+ virtual void rawZFilter(SWBuf &buf, char direction = 0) const { (void) buf; (void) direction; }
static signed char createModule (const char *path);
};
Modified: trunk/include/zverse.h
===================================================================
--- trunk/include/zverse.h 2013-01-26 15:21:20 UTC (rev 2778)
+++ trunk/include/zverse.h 2013-01-29 00:06:01 UTC (rev 2779)
@@ -51,7 +51,7 @@
void findOffset(char testmt, long idxoff, long *start, unsigned short *size, unsigned long *buffnum) const;
void zReadText(char testmt, long start, unsigned short size, unsigned long buffnum, SWBuf &buf) const;
- virtual void rawZFilter(SWBuf &buf, char direction = 0) const {}
+ virtual void rawZFilter(SWBuf &buf, char direction = 0) const { (void) buf; (void) direction; }
static char createModule(const char *path, int blockBound, const char *v11n = "KJV");
};
More information about the sword-cvs
mailing list