Update of /cvsroot/mahogany/M/src/adb
In directory sc8-pr-cvs1:/tmp/cvs-serv2450/src/adb
Modified Files:
ProvDummy.cpp
Log Message:
another warning fix (for gcc)
Index: ProvDummy.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/adb/ProvDummy.cpp,v
retrieving revision 1.23
retrieving revision 1.24
diff -b -u -2 -r1.23 -r1.24
--- ProvDummy.cpp 22 Jul 2003 22:01:39 -0000 1.23
+++ ProvDummy.cpp 22 Jul 2003 23:09:01 -0000 1.24
@@ -414,7 +414,8 @@
}
+#ifdef EXPERIMENTAL_adbtest
+
bool DummyDataProvider::TestBookAccess(const String& name, AdbTests test)
{
-#ifdef EXPERIMENTAL_adbtest
String str;
str.Printf("Return TRUE from DummyDataProvider::TestBookAccess(%d) "
@@ -422,11 +423,15 @@
test, name.c_str());
return MDialog_YesNoDialog(str);
-#else
- name;
- test;
+}
+#else // !EXPERIMENTAL_adbtest
+
+bool
+DummyDataProvider::TestBookAccess(const String& /* name*/, AdbTests /* test */)
+{
return FALSE;
-#endif
}
+
+#endif // EXPERIMENTAL_adbtest/!EXPERIMENTAL_adbtest
bool DummyDataProvider::DeleteBook(AdbBook * /* book */)
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates