aknlayoutcompiler/src/LayCdl2Inst.cpp
changeset 1 b700e12870ca
parent 0 f58d6ec98e88
child 20 8b4f687b7a95
--- a/aknlayoutcompiler/src/LayCdl2Inst.cpp	Thu Dec 17 09:14:18 2009 +0200
+++ b/aknlayoutcompiler/src/LayCdl2Inst.cpp	Mon Jan 18 21:13:05 2010 +0200
@@ -92,7 +92,7 @@
 	LayoutAndCdlToCdlInstance process(*iface);
 
 	TLayout* base = NULL;
-	for (int arg = 3; arg < args.size(); arg += 2)
+	for (unsigned int arg = 3; arg < args.size(); arg += 2)
 		{
 		string layoutName = args[arg];
 		string instName = args[arg+1];
@@ -369,7 +369,7 @@
 
 	CCdlTkImplementation& imp = FindImp(apiName);
 	const CCdlTkFunctionApi& api = imp.Api().AsFunc();
-	const CCdlTkApiParams& params = api.Params();
+	//const CCdlTkApiParams& params = api.Params();
 
 	TLayoutLine& line = *aTable[aSubTable[0]];
 	CCdlTkImplementation& lineImp = FindImp(LayoutToCdl::LineApiName(line));
@@ -382,7 +382,7 @@
 		ptrType = lineApi.PointerType();
 	
 	int valid = 0;
-	for (int ii=0; ii<aTable.size(); ii++)
+	for (unsigned int ii=0; ii<aTable.size(); ii++)
 		{
 		if (find(aSubTable.begin(), aSubTable.end(), ii) != aSubTable.end())
 			{
@@ -495,7 +495,7 @@
 void CLayoutToInst::SetFuncLine(CCdlTkImplementation& aImp, TLayoutLine& aLine, const string& aType, const string aOutputOrder[], int aOutputOrderSize, const string& aPreExtra, const string& aPostExtra)
 	{
 	const CCdlTkFunctionApi& api = aImp.Api().AsFunc();
-	const CCdlTkApiParams& params = api.Params();
+	//const CCdlTkApiParams& params = api.Params();
 
 	string asserts;
 	string tables;