summaryrefslogtreecommitdiff
path: root/src/proxy/proxystrings.h
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-06-01 14:20:19 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-06-01 14:20:19 +0000
commita94987b93ecad02ca1b077fe784b5d08fb1b6ec4 (patch)
treed3ce2dbaa046e151ce16a0d6a0135a52cc4b2bd0 /src/proxy/proxystrings.h
parent8d89bfa9bb2ce231aa4daf87e7502df1175693a6 (diff)
Cleaned up a bunck of warnings.
Diffstat (limited to 'src/proxy/proxystrings.h')
-rwxr-xr-xsrc/proxy/proxystrings.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/proxy/proxystrings.h b/src/proxy/proxystrings.h
index 09d0f9f..ceb0891 100755
--- a/src/proxy/proxystrings.h
+++ b/src/proxy/proxystrings.h
@@ -34,7 +34,7 @@ Please visit our Website: http://www.httrack.com
/* Tools */
-static int ehexh(char c) {
+HTS_UNUSED static int ehexh(char c) {
if ((c >= '0') && (c <= '9'))
return c - '0';
if ((c >= 'a') && (c <= 'f'))
@@ -44,11 +44,11 @@ static int ehexh(char c) {
return 0;
}
-static int ehex(const char *s) {
+HTS_UNUSED static int ehex(const char *s) {
return 16 * ehexh(*s) + ehexh(*(s + 1));
}
-static void unescapehttp(const char *s, String * tempo) {
+HTS_UNUSED static void unescapehttp(const char *s, String * tempo) {
int i;
for(i = 0; s[i] != '\0'; i++) {
@@ -69,7 +69,7 @@ static void unescapehttp(const char *s, String * tempo) {
}
}
-static void escapexml(const char *s, String * tempo) {
+HTS_UNUSED static void escapexml(const char *s, String * tempo) {
int i;
for(i = 0; s[i] != '\0'; i++) {
@@ -86,7 +86,7 @@ static void escapexml(const char *s, String * tempo) {
}
}
-static char *concat(char *catbuff, const char *a, const char *b) {
+HTS_UNUSED static char *concat(char *catbuff, const char *a, const char *b) {
if (a != NULL && a[0] != '\0') {
strcpy(catbuff, a);
} else {
@@ -98,7 +98,7 @@ static char *concat(char *catbuff, const char *a, const char *b) {
return catbuff;
}
-static char *__fconv(char *a) {
+HTS_UNUSED static char *__fconv(char *a) {
#ifdef WIN32
int i;
@@ -109,11 +109,11 @@ static char *__fconv(char *a) {
return a;
}
-static char *fconcat(char *catbuff, const char *a, const char *b) {
+HTS_UNUSED static char *fconcat(char *catbuff, const char *a, const char *b) {
return __fconv(concat(catbuff, a, b));
}
-static char *fconv(char *catbuff, const char *a) {
+HTS_UNUSED static char *fconv(char *catbuff, const char *a) {
return __fconv(concat(catbuff, a, ""));
}