From 9a000ca9a271fa399cd1a12b9e831035ac187ecf Mon Sep 17 00:00:00 2001 From: louis Date: Sun, 18 May 2014 07:24:06 +0200 Subject: Version 0.2.0: adapted service interface to scraper2vdr api --- tools/curlfuncs.cpp | 2 +- tools/splitstring.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/curlfuncs.cpp b/tools/curlfuncs.cpp index de4c72f..0018904 100644 --- a/tools/curlfuncs.cpp +++ b/tools/curlfuncs.cpp @@ -67,7 +67,7 @@ size_t collect_data(void *ptr, size_t size, size_t nmemb, void *stream) curlfuncs::sBuf += sTmp; } else { - size_t xxx = fwrite(ptr, size, nmemb, (FILE *)stream); + fwrite(ptr, size, nmemb, (FILE *)stream); } return actualsize; } diff --git a/tools/splitstring.c b/tools/splitstring.c index 14af577..8435185 100644 --- a/tools/splitstring.c +++ b/tools/splitstring.c @@ -13,7 +13,7 @@ vector& splitstring::split(char delim, int rep) { if (!flds.empty()) flds.clear(); // empty vector if necessary string work = data(); string buf = ""; - int i = 0; + unsigned int i = 0; while (i < work.length()) { if (work[i] != delim) buf += work[i]; -- cgit v1.2.3