kdenonbeta/kdedebian/kapture/kapture
CVS commit by mornfall:
reduce compiler warnings
M +1 -1 kapture_part.cpp 1.6
M +4 -2 mainview.cpp 1.2
M +4 -2 pkggrouper.h 1.11
M +1 -4 stl_util.cpp 1.2
--- kdenonbeta/kdedebian/kapture/kapture/kapture_part.cpp #1.5:1.6
@@ -69,5 +69,5 @@ kapturePart::~kapturePart()
}
-void kapturePart::setReadWrite(bool rw)
+void kapturePart::setReadWrite(bool)
{
// XXX: needs fixing
--- kdenonbeta/kdedebian/kapture/kapture/mainview.cpp #1.1:1.2
@@ -48,6 +48,7 @@ void MainView::showPackage (pkgCache::Pk
}
-void MainView::createView (Config *cfg)
+void MainView::createView (Config *)
{
+ // XXX
/* PkgView *v = new PkgListView (this, cfg -> title ());
addView (v); */
@@ -61,6 +62,7 @@ void MainView::addView (PkgView *view)
}
-void MainView::removeView (PkgView *view)
+void MainView::removeView (PkgView *)
{
+ // XXX
}
--- kdenonbeta/kdedebian/kapture/kapture/pkggrouper.h #1.10:1.11
@@ -72,6 +72,8 @@ namespace capture {
void setPackage (pkgCache::PkgIterator pkg)
{ m_pkg = pkg; };
- virtual pkgCache::VerIterator getVersion (bool) {};
- virtual pkgCache::DepIterator getDepend (bool) {};
+ virtual pkgCache::VerIterator getVersion (bool)
+ { return pkgCache::VerIterator (); };
+ virtual pkgCache::DepIterator getDepend (bool)
+ { return pkgCache::DepIterator (); };
virtual IterType iterType () { return IterPackage; };
};
--- kdenonbeta/kdedebian/kapture/kapture/stl_util.cpp #1.1:1.2
@@ -25,4 +25,5 @@
using namespace std;
using namespace capture;
+// XXX: escaping @?
static string unescape (string s, string delim)
@@ -102,8 +103,4 @@ string capture::join (list<string> l, st
}
-static string argmap2string_escape (string s);
-static string argmap2string_unescape (string s);
-
-// XXX: Nested argmaps!
string capture::argmap2string (argmap a)
{
Reply to: